Changeset 6 for trunk/tools/arch_info/arch_info.h
- Timestamp:
- Apr 26, 2017, 2:14:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/arch_info.h
r1 r6 63 63 * The 16 MSB bits define the functionnal type. 64 64 * The 16 LSB bits define the implementation type. 65 * It must be consistent with values defined in file arch_class.py65 * It must be consistent with values defined in files arch_class.py, and device.* 66 66 ***************************************************************************************/ 67 67 68 68 enum deviceTypes 69 69 { 70 DEV_TYPE_RAM 71 DEV_TYPE_ DMA= 0x00010000,72 DEV_TYPE_FBF 73 DEV_TYPE_IOB 70 DEV_TYPE_RAM_SCL = 0x00000000, 71 DEV_TYPE_ROM_SCL = 0x00010000, 72 DEV_TYPE_FBF_SCL = 0x00020000, 73 DEV_TYPE_IOB_TSR = 0x00030000, 74 74 DEV_TYPE_IOC_BDV = 0x00040000, 75 75 DEV_TYPE_IOC_HBA = 0x00040001, … … 77 77 DEV_TYPE_IOC_SPI = 0x00040003, 78 78 DEV_TYPE_IOC_RDK = 0x00040004, 79 DEV_TYPE_MMC = 0x00050000, 80 DEV_TYPE_MWR_CPY = 0x00060000, 81 DEV_TYPE_MWR_GCD = 0x00060001, 82 DEV_TYPE_MWR_DCT = 0x00060002, 83 DEV_TYPE_NIC = 0x00070000, 84 DEV_TYPE_ROM = 0x00080000, 85 DEV_TYPE_SIM = 0x00090000, 86 DEV_TYPE_TIM = 0x000A0000, 87 DEV_TYPE_TTY = 0x000B0000, 88 DEV_TYPE_XCU = 0x000C0000, 89 DEV_TYPE_PIC = 0x000D0000, 90 DEV_TYPE_CMA = 0x000E0000, 79 DEV_TYPE_MMC_TSR = 0x00050000, 80 DEV_TYPE_DMA_SCL = 0x00060000, 81 DEV_TYPE_NIC_CBF = 0x00070000, 82 DEV_TYPE_TIM_SCL = 0x00080000, 83 DEV_TYPE_TXT_TTY = 0x00090000, 84 DEV_TYPE_ICU_XCU = 0x000A0000, 85 DEV_TYPE_PIC_TSR = 0x000B0000, 91 86 }; 92 87 … … 143 138 { 144 139 uint32_t gid; // core hardware identifier 140 uint16_t cxy; // cluster identifier 145 141 uint16_t lid; // core local index in cluster 146 uint16_t cxy; // cluster identifier147 142 } 148 143 archinfo_core_t; … … 154 149 typedef struct __attribute__((packed)) archinfo_device_s 155 150 { 151 uint64_t base; // base address in physical space 152 uint64_t size; // channel size (bytes) 156 153 uint32_t type; // supported values defined above 157 uint64_t base; // base address in physical space158 uint64_t size; // size (bytes)159 154 uint32_t channels; // number of channels 160 155 uint32_t arg0; // semantic depends on device type … … 162 157 uint32_t arg2; // semantic depends on device type 163 158 uint32_t arg3; // semantic depends on device type 164 uint32_t irqs; // number of input IRQs (for XCU or PIC)159 uint32_t irqs; // number of input IRQs (for ICU or PIC) 165 160 uint32_t irq_offset; // global index of first IRQ 166 161 }
Note: See TracChangeset
for help on using the changeset viewer.