ItIplParmsReal.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:3k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * ItIplParmsReal.h
  3.  * Copyright (C) 2001  Mike Corrigan IBM Corporation
  4.  * 
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  * 
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  * 
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  18.  */
  19. //==============================================================================
  20. //
  21. // This struct maps the IPL Parameters DMA'd from the SP.                  
  22. //
  23. // Warning:
  24. // This data must map in exactly 64 bytes and match the architecture for
  25. // the IPL parms
  26. //
  27. //=============================================================================
  28. //-------------------------------------------------------------------
  29. // Standard Includes
  30. //-------------------------------------------------------------------
  31. #ifndef _PPC_TYPES_H
  32. #include <asm/types.h>
  33. #endif
  34. #ifndef _ITIPLPARMSREAL_H
  35. #define _ITIPLPARMSREAL_H
  36. struct ItIplParmsReal
  37. {
  38. u8 xFormat; // Defines format of IplParms x00-x00
  39. u8 xRsvd01:6; // Reserved x01-x01
  40. u8 xAlternateSearch:1; // Alternate search indicator ...
  41. u8 xUaSupplied:1; // UA Supplied on programmed IPL ...
  42. u8 xLsUaFormat; // Format byte for UA x02-x02
  43. u8 xRsvd02; // Reserved x03-x03
  44. u32 xLsUa; // LS UA x04-x07
  45. u32 xUnusedLsLid; // First OS LID to load x08-x0B
  46. u16 xLsBusNumber; // LS Bus Number x0C-x0D
  47. u8 xLsCardAdr; // LS Card Address x0E-x0E
  48. u8 xLsBoardAdr; // LS Board Address x0F-x0F
  49. u32 xRsvd03; // Reserved x10-x13
  50. u8 xSpcnPresent:1; // SPCN present x14-x14
  51. u8 xCpmPresent:1; // CPM present ...
  52. u8 xRsvd04:6; // Reserved ...
  53. u8 xRsvd05:4; // Reserved x15-x15
  54. u8 xKeyLock:4; // Keylock setting ...
  55. u8 xRsvd06:6; // Reserved x16-x16
  56. u8 xIplMode:2; // Ipl mode (A|B|C|D) ...
  57. u8 xHwIplType; // Fast v slow v slow EC HW IPL x17-x17
  58. u16 xCpmEnabledIpl:1; // CPM in effect when IPL initiated x18-x19
  59. u16 xPowerOnResetIpl:1; // Indicate POR condition ...
  60. u16 xMainStorePreserved:1; // Main Storage is preserved ...
  61. u16 xRsvd07:13; // Reserved ...
  62. u16 xIplSource:16; // Ipl source x1A-x1B
  63. u8 xIplReason:8; // Reason for this IPL x1C-x1C
  64. u8 xRsvd08; // Reserved x1D-x1D
  65. u16 xRsvd09; // Reserved x1E-x1F
  66. u16 xSysBoxType; // System Box Type x20-x21
  67. u16 xSysProcType; // System Processor Type x22-x23
  68. u32 xRsvd10; // Reserved x24-x27
  69. u64 xRsvd11; // Reserved x28-x2F
  70. u64 xRsvd12; // Reserved x30-x37
  71. u64 xRsvd13; // Reserved x38-x3F
  72. };
  73. #endif // _ITIPLPARMSREAL_H