Changeset 7f1c620 in mainline for arch/mips32/include/drivers/arc.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/drivers/arc.h
r991779c5 r7f1c620 57 57 58 58 typedef struct { 59 __u8type;60 __u8sharedisposition;61 __u16flags;59 uint8_t type; 60 uint8_t sharedisposition; 61 uint16_t flags; 62 62 union { 63 63 struct { … … 78 78 79 79 typedef struct { 80 __u16version;81 __u16revision;80 uint16_t version; 81 uint16_t revision; 82 82 unsigned long count; 83 83 cm_resource_descriptor descr[1]; … … 154 154 arc_component_type type; 155 155 arc_component_flags flags; 156 __u16revision;157 __u16version;158 __u32key;159 __u32affinitymask;160 __u32configdatasize;161 __u32identifier_len;156 uint16_t revision; 157 uint16_t version; 158 uint32_t key; 159 uint32_t affinitymask; 160 uint32_t configdatasize; 161 uint32_t identifier_len; 162 162 char *identifier; 163 163 } __attribute__ ((packed)) arc_component; 164 164 165 165 typedef struct { 166 __u16year;167 __u16month;168 __u16day;169 __u16hour;170 __u16minutes;171 __u16seconds;172 __u16mseconds;166 uint16_t year; 167 uint16_t month; 168 uint16_t day; 169 uint16_t hour; 170 uint16_t minutes; 171 uint16_t seconds; 172 uint16_t mseconds; 173 173 } __attribute__ ((packed)) arc_timeinfo; 174 174 … … 187 187 typedef struct { 188 188 arc_memorytype_t type; 189 __u32basepage; /* *4096 = baseaddr */190 __u32basecount;189 uint32_t basepage; /* *4096 = baseaddr */ 190 uint32_t basecount; 191 191 }arc_memdescriptor_t; 192 192 … … 198 198 typedef struct { 199 199 long (*load)(void); /* ... */ 200 long (*invoke)( __u32 eaddr,__u32 saddr,__u32argc,char **argv,200 long (*invoke)(uint32_t eaddr,uint32_t saddr,uint32_t argc,char **argv, 201 201 char **envp); 202 long (*execute)(char *path, __u32argc,char **argv,char **envp);202 long (*execute)(char *path,uint32_t argc,char **argv,char **envp); 203 203 void (*halt)(void); 204 204 void (*powerdown)(void); … … 222 222 long (*reserved2)(void); 223 223 arc_timeinfo * (*gettime)(void); 224 __u32(*getrelativetime)(void);224 uint32_t (*getrelativetime)(void); 225 225 long (*getdirectoryentry)(); 226 226 long (*open)(void); /* ... */ 227 long (*close)( __u32fileid);228 long (*read)( __u32 fileid,void *buf,__u32 n,__u32*cnt);229 long (*getreadstatus)( __u32fileid);230 long (*write)( __u32 fileid, void *buf,__u32 n,__u32*cnt);227 long (*close)(uint32_t fileid); 228 long (*read)(uint32_t fileid,void *buf,uint32_t n,uint32_t *cnt); 229 long (*getreadstatus)(uint32_t fileid); 230 long (*write)(uint32_t fileid, void *buf,uint32_t n,uint32_t *cnt); 231 231 long (*seek)(void); /* ... */ 232 232 /* 30 */ … … 235 235 char * (*setenvironmentvariable)(char *name, char *value); 236 236 long (*getfileinformation)(void); /* ... */ 237 long (*setfileinformation)( __u32 fileid,__u32 attflags,__u32attmask);237 long (*setfileinformation)(uint32_t fileid,uint32_t attflags,uint32_t attmask); 238 238 void (*flushallcaches)(void); 239 239 long (*testunicodecharacter)(void); /* ... */ … … 242 242 243 243 typedef struct { 244 __u32signature;245 __u32length;246 __u16version;247 __u16revision;244 uint32_t signature; 245 uint32_t length; 246 uint16_t version; 247 uint16_t revision; 248 248 void *restartblock; 249 249 void *debugblock; 250 250 void *gevector; 251 251 void *utlbmissvector; 252 __u32firmwarevectorlen;252 uint32_t firmwarevectorlen; 253 253 arc_func_vector_t *firmwarevector; 254 __u32privvectorlen;254 uint32_t privvectorlen; 255 255 void *privvector; 256 __u32adaptercount;256 uint32_t adaptercount; 257 257 }__attribute__ ((packed)) arc_sbp; 258 258
Note:
See TracChangeset
for help on using the changeset viewer.