Revision 8367a14f hw/s390x/sclp.h
b/hw/s390x/sclp.h | ||
---|---|---|
51 | 51 |
|
52 | 52 |
/* |
53 | 53 |
* Normally packed structures are not the right thing to do, since all code |
54 |
* must take care of endianess. We cant use ldl_phys and friends for two
|
|
54 |
* must take care of endianness. We cannot use ldl_phys and friends for two
|
|
55 | 55 |
* reasons, though: |
56 | 56 |
* - some of the embedded structures below the SCCB can appear multiple times |
57 | 57 |
* at different locations, so there is no fixed offset |
... | ... | |
60 | 60 |
* alter the structure while we parse it. We cannot use ldl_p and friends |
61 | 61 |
* either without doing pointer arithmetics |
62 | 62 |
* So we have to double check that all users of sclp data structures use the |
63 |
* right endianess wrappers. |
|
63 |
* right endianness wrappers.
|
|
64 | 64 |
*/ |
65 | 65 |
typedef struct SCCBHeader { |
66 | 66 |
uint16_t length; |
Also available in: Unified diff