Changeset 04552a80 in mainline for libc/include/ipc/fb.h
- Timestamp:
- 2006-05-17T20:51:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25f9823
- Parents:
- 04a73cdf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/include/ipc/fb.h
r04a73cdf r04552a80 12 12 #define METHOD_WIDTH 16 13 13 #define ITEM_WIDTH 16 14 #define COUNT_WIDTH 16 /* Should be 8 times integer*/14 #define COUNT_WIDTH 16 /* Should be 8 times integer */ 15 15 16 16 17 struct _fb_method 18 { 19 unsigned m : METHOD_WIDTH; 20 unsigned item : ITEM_WIDTH; 21 } __attribute__ ((packed)); 17 struct _fb_method { 18 unsigned m : METHOD_WIDTH; 19 unsigned item : ITEM_WIDTH; 20 } __attribute__((packed)); 22 21 23 union fb_method 24 { 22 union fb_method { 25 23 struct _fb_method m; 26 24 __native fill; 27 } __attribute__((packed));25 } __attribute__((packed)); 28 26 29 struct fb_call_args 30 { 27 struct fb_call_args { 31 28 union fb_method method; 32 union 33 { 34 struct 35 { 36 unsigned count :COUNT_WIDTH; 37 char chars[3*sizeof(__native)-(COUNT_WIDTH>>3)]; 38 }putchar __attribute__ ((packed)); 39 }data ; //__attribute__ ((packed)); 40 }__attribute__ ((packed)); 29 union { 30 struct { 31 unsigned count : COUNT_WIDTH; 32 char chars[3 * sizeof(__native) - (COUNT_WIDTH >> 3)]; 33 } putchar __attribute__((packed)); 34 } data ; // __attribute__((packed)); 35 } __attribute__((packed)); 41 36 42 struct fb_ipc_args 43 { 37 struct fb_ipc_args { 44 38 __native method; 45 39 __native arg1; 46 40 __native arg2; 47 41 __native arg3; 48 } __attribute__ 42 } __attribute__((packed)); 49 43 50 union fb_args 51 { 44 union fb_args { 52 45 struct fb_call_args fb_args; 53 46 struct fb_ipc_args ipc_args; 54 } __attribute__((packed));47 } __attribute__((packed)); 55 48 56 49 typedef union fb_args fb_args_t; 57 50 58 51 #endif 59 60
Note:
See TracChangeset
for help on using the changeset viewer.