Mercurial > hg > GearsTemplate
view src/allocate/allocate_test.h @ 9:14c604cfa711
modify directories
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 02 Apr 2015 01:05:52 +0900 |
parents | |
children |
line wrap: on
line source
typedef struct DataSegment1 { int i; // 4 byte char c[10]; // 10 byte // padding 2 byte } data1; typedef struct DataSegment2 { int x; // 4 byte int y; // 4 byte int z; // 4 byte } data2; typedef struct metaDataSegment { size_t size; // 8 byte void* ds; // 8 byte } mdata; typedef struct Context_st { void* ds; void* mds; void* ds_heap; void* mds_heap; __code (*next)(); } Context; __code start_code(); __code meta_start_code(); __code code1(); __code meta_code1(); __code code2(); __code meta_code2(); __code exit_code();