Initial commit
[dsnet.git] / tools / dsnet / include / iloadp.h
blob2920592a52505a7668c432940a11ab8b22595052
1 ../include/iloadp.h:
2 typedef struct { /* size 8 */
3 byte cmd; /* bitsize 8, bitpos 0 */
4 byte action; /* bitsize 8, bitpos 8 */
5 byte result; /* bitsize 8, bitpos 16 */
6 byte stamp; /* bitsize 8, bitpos 24 */
7 word module_id; /* bitsize 32, bitpos 32 */
8 } ILOADP_HDR;
9 typedef struct { /* size 32 */
10 half version; /* bitsize 16, bitpos 0 */
11 half flags; /* bitsize 16, bitpos 16 */
12 word mod_addr; /* bitsize 32, bitpos 32 */
13 word text_size; /* bitsize 32, bitpos 64 */
14 word data_size; /* bitsize 32, bitpos 96 */
15 word bss_size; /* bitsize 32, bitpos 128 */
16 word entry_address; /* bitsize 32, bitpos 160 */
17 word gp_value; /* bitsize 32, bitpos 192 */
18 byte extnumwords; /* bitsize 8, bitpos 224 */
19 byte exttype; /* bitsize 8, bitpos 232 */
20 half reserved; /* bitsize 16, bitpos 240 */
21 word extword[]; /* bitpos 256 */
22 } ILOADP_MODINFO_DATA;
23 typedef struct { /* size 4 */
24 word ret_value; /* bitsize 32, bitpos 0 */
25 } ILOADP_REPORT_DATA;