71typedef int CSRSIRequest;
74typedef int CSRSIInfoAreaLen;
77typedef int CSRSIReturnCode;
88 #pragma linkage(CSRSI_calltype,OS)
90typedef void CSRSI_calltype(
91 CSRSIRequest __REQUEST,
92 CSRSIInfoAreaLen __INFOAREALEN,
94 CSRSIReturnCode *__RC);
97extern CSRSI_calltype CSRSI;
105#define csrsi_byaddr(Request, Flen, Fptr, Rcptr) \
107 ((struct CSRSI_PSA*) 0) -> \
108 CSRSI_cvt->CSRSI_cvtcsrt->CSRSI_addr \
109 (Request,Flen,Fptr,Rcptr); \
114 unsigned char CSRSI_csrt_filler1 [48];
115 CSRSI_calltype* CSRSI_addr;
119 unsigned char CSRSI_cvt_filler1 [116];
121 unsigned int CSRSI_cvtdcb_rsvd1 : 4;
122 unsigned int CSRSI_cvtosext : 1;
124 unsigned int CSRSI_cvtdcb_rsvd2 : 3;
126 unsigned char CSRSI_cvt_filler2 [427];
127 struct CSRSI_CSRT * CSRSI_cvtcsrt;
128 unsigned char CSRSI_cvt_filler3 [716];
129 unsigned char CSRSI_cvtoslv0;
130 unsigned char CSRSI_cvtoslv1;
131 unsigned char CSRSI_cvtoslv2;
132 unsigned char CSRSI_cvtoslv3;
134 unsigned int CSRSI_cvtcsrsi : 1;
136 unsigned int CSRSI_cvtoslv1_rsvd1 : 7;
138 unsigned char CSRSI_cvt_filler4 [11];
143 char CSRSI_psa_filler[16];
144 struct CSRSI_CVT* CSRSI_cvt;
157 unsigned char _filler1[32];
158 unsigned char si11v1cpcmanufacturer[16];
166 unsigned char si11v1cpctype[4];
169 unsigned char _filler2[12];
170 unsigned char si11v1cpcmodelcapident[16];
181 unsigned char si11v1cpcsequencecode[16];
189 unsigned char si11v1cpcplantofmanufacture[4];
197 unsigned char si11v1cpcmodel1[16];
208 unsigned char _filler3[3980];
211 #define si11v1cpcmodel si11v1cpcmodelcapident
232 unsigned char _filler1[24];
233 unsigned char si22v1secondarycpucapability[4];
255 unsigned char si22v1cpucapability[4];
318 unsigned char _si22v1mpcpucapaf[2];
320 unsigned char _filler2[4050];
325#define si22v1mpcpucapaf si22v1mpcpucapafs._si22v1mpcpucapaf
351 unsigned char _si22v1altmpcpucapaf[2];
356 unsigned char _filler2[4050];
357 } si22v1altmpcpucapafs;
383#define si22v1altmpcpucapaf si22v1altmpcpucapafs._si22v1altmpcpucapaf
391 unsigned char _filler1[32];
506 unsigned char si22v2cpcname[8];
512 unsigned char si22v2cpccapabilityaf[4];
524 unsigned char si22v2lparorigin[8];
530 unsigned char _filler4[8];
549 unsigned char _filler5[4020];
552#define si22v2lcpudedicated si22v2lcpuc._si22v2lcpudedicated
553#define si22v2lcpushared si22v2lcpuc._si22v2lcpushared
554#define si22v2lcpuulimit si22v2lcpuc._si22v2lcpuulimit
562 unsigned char _filler1[4];
620 unsigned char si22v3dbcpcname[8];
625 unsigned char si22v3dbcpccaf[4];
635 unsigned char si22v3dbvmhpidentifier[16];
646 unsigned char _filler2[24];
654 unsigned char _filler1[28];
655 unsigned char _filler2[3];
666 } si22v3dbcountfield;
670 unsigned char _filler5[3552];
673#define si22v3dbcount si22v3dbcountfield._si22v3dbcount
700 unsigned char _filler2[2];
701 unsigned char si00pccacpid[12];
703 unsigned char si00pccacpua[2];
705 unsigned char si00pccacafm[2];
708 unsigned char _filler3[4];
709 unsigned char si00lastupdatetimestamp[8];
711 unsigned char si00pcca_cpu_address_mask[8];
714 unsigned char _filler4[24];
717#define si00validsi11v1 si00validityflags._si00validsi11v1
718#define si00validsi22v1 si00validityflags._si00validsi22v1
719#define si00validsi22v2 si00validityflags._si00validsi22v2
720#define si00validsi22v3 si00validityflags._si00validsi22v3
831#define SI00CPCVARIETY_V1CPC_MACHINE 1
832#define SI00CPCVARIETY_V2CPC_LPAR 2
833#define SI00CPCVARIETY_V3CPC_VM 3
837#define CSRSI_REQUEST_V1CPC_MACHINE 1
838#define CSRSI_REQUEST_V2CPC_LPAR 2
839#define CSRSI_REQUEST_V3CPC_VM 4
843#define CSRSI_SUCCESS 0
844#define CSRSI_STSINOTAVAILABLE 4
845#define CSRSI_SERVICENOTAVAILABLE 8
846#define CSRSI_BADREQUEST 12
847#define CSRSI_BADINFOAREALEN 16
848#define CSRSI_BADLOCK 20
unsigned int _si00validsi22v1
Definition csrsic.h:689
unsigned int _si00validsi11v1
Definition csrsic.h:686
unsigned int _filler1
Definition csrsic.h:698
unsigned int _si00validsi22v3
Definition csrsic.h:695
unsigned int _si00validsi22v2
Definition csrsic.h:692
char si00cpcvariety
Definition csrsic.h:682
unsigned int si22v1standbycpucount
Definition csrsic.h:284
unsigned int si22v1totalcpucount
Definition csrsic.h:264
unsigned int si22v1accoffset
Definition csrsic.h:223
unsigned int si22v1reservedcpucount
Definition csrsic.h:298
unsigned int si22v1configuredcpucount
Definition csrsic.h:273
unsigned int
Definition csrsic.h:222
unsigned int si22v1format
Definition csrsic.h:219
unsigned int si22v1altcpucapability
Definition csrsic.h:334
unsigned int si22v2standbylcpucount
Definition csrsic.h:472
unsigned int _si22v2lcpushared
Definition csrsic.h:420
unsigned int si22v2sharedlcpucount
Definition csrsic.h:540
unsigned int si22v2dedicatedlcpucount
Definition csrsic.h:531
unsigned int _filler3
Definition csrsic.h:447
unsigned char _filler2
Definition csrsic.h:400
unsigned int si22v2configuredlcpucount
Definition csrsic.h:460
unsigned int si22v2reservedlcpucount
Definition csrsic.h:487
unsigned int _si22v2lcpuulimit
Definition csrsic.h:435
unsigned int _si22v2lcpudedicated
Definition csrsic.h:402
unsigned int si22v2totallcpucount
Definition csrsic.h:450
unsigned int si22v2cpcnumber
Definition csrsic.h:392
unsigned int _si22v3dbcount
Definition csrsic.h:659
unsigned int _filler3
Definition csrsic.h:657
unsigned int si22v3dbreservedlcpucount
Definition csrsic.h:601
unsigned int si22v3dbconfiguredlcpucount
Definition csrsic.h:574
unsigned int si22v3dbstandbylcpucount
Definition csrsic.h:586
unsigned int si22v3dbtotallcpucount
Definition csrsic.h:563
si22v1 siv1si22v1
Definition csrsic.h:732
si00 siv1si00
Definition csrsic.h:728
si11v1 siv1si11v1
Definition csrsic.h:730
si00 siv1v2si00
Definition csrsic.h:742
si22v1 siv1v2si22v1
Definition csrsic.h:746
si11v1 siv1v2si11v1
Definition csrsic.h:744
si22v2 siv1v2si22v2
Definition csrsic.h:748
si22v1 siv1v2v3si22v1
Definition csrsic.h:762
si22v3 siv1v2v3si22v3
Definition csrsic.h:766
si00 siv1v2v3si00
Definition csrsic.h:758
si11v1 siv1v2v3si11v1
Definition csrsic.h:760
si22v2 siv1v2v3si22v2
Definition csrsic.h:764
si00 siv1v3si00
Definition csrsic.h:776
si11v1 siv1v3si11v1
Definition csrsic.h:778
si22v1 siv1v3si22v1
Definition csrsic.h:780
si22v3 siv1v3si22v3
Definition csrsic.h:782
si22v2 siv2si22v2
Definition csrsic.h:794
si00 siv2si00
Definition csrsic.h:792
si22v3 siv2v3si22v3
Definition csrsic.h:808
si22v2 siv2v3si22v2
Definition csrsic.h:806
si00 siv2v3si00
Definition csrsic.h:804
si00 siv3si00
Definition csrsic.h:818
si22v3 siv3si22v3
Definition csrsic.h:820