Changeset 06e1e95 in mainline for kernel/arch/mips32/include/drivers/arc.h
- Timestamp:
- 2006-09-14T17:09:21Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1d1f5d3
- Parents:
- e5ecc02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/drivers/arc.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __mips32_ARC_H__36 #define __mips32_ARC_H__35 #ifndef KERN_mips32_ARC_H_ 36 #define KERN_mips32_ARC_H_ 37 37 38 38 #include <arch/types.h> … … 54 54 CmResourceTypeProductName, 55 55 CmResourceTypeSerialNumber 56 } cm_resource_type;56 } cm_resource_type; 57 57 58 58 typedef struct { … … 75 75 }memory; 76 76 }u; 77 } __attribute__ ((packed)) cm_resource_descriptor;77 } __attribute__ ((packed)) cm_resource_descriptor; 78 78 79 79 typedef struct { … … 82 82 unsigned long count; 83 83 cm_resource_descriptor descr[1]; 84 } __attribute__ ((packed)) cm_resource_list;84 } __attribute__ ((packed)) cm_resource_list; 85 85 86 86 typedef enum { … … 138 138 TPUAdapter, 139 139 Anonymous 140 } arc_component_type;140 } arc_component_type; 141 141 142 142 typedef enum { … … 148 148 Input = 32, 149 149 Output = 64 150 } arc_component_flags;150 } arc_component_flags; 151 151 152 152 typedef struct { … … 183 183 FirmwareTemporary, 184 184 FirmwarePermanent 185 } arc_memorytype_t;185 } arc_memorytype_t; 186 186 187 187 typedef struct { … … 189 189 uint32_t basepage; /* *4096 = baseaddr */ 190 190 uint32_t basecount; 191 } arc_memdescriptor_t;191 } arc_memdescriptor_t; 192 192 193 193 typedef struct { 194 194 char vendorid[8]; 195 195 char prodid[8]; 196 } arc_sysid_t;196 } arc_sysid_t; 197 197 198 198 typedef struct { … … 255 255 void *privvector; 256 256 uint32_t adaptercount; 257 } __attribute__ ((packed)) arc_sbp;257 } __attribute__ ((packed)) arc_sbp; 258 258 259 259 extern int arc_init(void); … … 266 266 /** @} 267 267 */ 268
Note:
See TracChangeset
for help on using the changeset viewer.