- Timestamp:
- Apr 5, 2015, 12:11:08 AM (10 years ago)
- Location:
- soft/giet_vm/giet_xml
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/mapping_info.h
r531 r548 65 65 VSEG_TYPE_PTAB = 2, // page table 66 66 VSEG_TYPE_PERI = 3, // hardware component 67 VSEG_TYPE_MWMR = 4, // MWMR channel 68 VSEG_TYPE_LOCK = 5, // Lock 69 VSEG_TYPE_BUFFER = 6, // Any "no initialization" objects (stacks...) 70 VSEG_TYPE_BARRIER = 7, // Barrier 71 VSEG_TYPE_CONST = 8, // Constant 72 VSEG_TYPE_MEMSPACE = 9, // Memspace (descriptor must be initialised) 73 VSEG_TYPE_SCHED = 10, // Array of schedulers (one per cluster) 74 VSEG_TYPE_HEAP = 11, // Heap f schedulers (one per cluster) 67 VSEG_TYPE_BUFFER = 4, // no initialization object (stacks...) 68 VSEG_TYPE_SCHED = 5, // scheduler 69 VSEG_TYPE_HEAP = 6, // heap 75 70 }; 76 71 … … 119 114 IOC_SUBTYPE_BDV = 0, 120 115 IOC_SUBTYPE_HBA = 1, 121 IOC_SUBTYPE_SPI = 2, 122 IOC_SUBTYPE_NONE = 3, 116 IOC_SUBTYPE_SDC = 2, 123 117 }; 124 118 … … 160 154 unsigned int irqs; // total number of irqs 161 155 unsigned int periphs; // total number of peripherals 162 char name[ 32]; // mapping name156 char name[64]; // mapping name 163 157 } mapping_header_t; 164 158 -
soft/giet_vm/giet_xml/xml_driver.c
r531 r548 23 23 const char * vseg_type[] = 24 24 { 25 "ELF", // binary code generated by GCC 26 "BLOB", // binary 27 "PTAB", // page table 28 "PERI", // hardware component 29 "MWMR", // MWMR channel 30 "LOCK", // Spin-Lock 31 "BUFFER", // Any "no intialiasation needed" object (stacks...) 32 "BARRIER", // Barrier 33 "CONST", // Constant 34 "MEMSPACE", // Memspace 25 "ELF", // From a .elf file 26 "BLOB", // Raw Binary 27 "PTAB", // Page Table 28 "PERI", // Hardware Component 29 "BUFFER", // No intialisation needed (stacks...) 35 30 "SCHED", // Scheduler 36 31 "HEAP", // Heap … … 68 63 "ISR_MMC", 69 64 "ISR_DMA", 70 "ISR_S PI",65 "ISR_SDC", 71 66 "ISR_MWR", 72 67 "ISR_HBA", … … 102 97 "BDV", 103 98 "HBA", 104 "SPI", 105 "NONE", 99 "SDC", 106 100 }; 107 101 -
soft/giet_vm/giet_xml/xml_parser.c
r531 r548 878 878 else if (strcmp(str, "ISR_MMC" ) == 0) irq[irq_index]->isr = ISR_MMC; 879 879 else if (strcmp(str, "ISR_DMA" ) == 0) irq[irq_index]->isr = ISR_DMA; 880 else if (strcmp(str, "ISR_S PI" ) == 0) irq[irq_index]->isr = ISR_SPI;880 else if (strcmp(str, "ISR_SDC" ) == 0) irq[irq_index]->isr = ISR_SDC; 881 881 else if (strcmp(str, "ISR_MWR" ) == 0) irq[irq_index]->isr = ISR_MWR; 882 882 else if (strcmp(str, "ISR_HBA" ) == 0) irq[irq_index]->isr = ISR_HBA; … … 1062 1062 else if (strcmp(subtype, "HBA") == 0) 1063 1063 periph[periph_index]->subtype = IOC_SUBTYPE_HBA; 1064 else if (strcmp(subtype, "S PI") == 0)1065 periph[periph_index]->subtype = IOC_SUBTYPE_S PI;1064 else if (strcmp(subtype, "SDC") == 0) 1065 periph[periph_index]->subtype = IOC_SUBTYPE_SDC; 1066 1066 } 1067 1067 else
Note: See TracChangeset
for help on using the changeset viewer.