Changeset 200 for soft/giet_vm/xml
- Timestamp:
- Aug 12, 2012, 1:35:34 PM (12 years ago)
- Location:
- soft/giet_vm/xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/xml/mapping_info.h
r189 r200 50 50 #define OUT_MAPPING_SIGNATURE 0xBABEF00D 51 51 52 enum 52 enum vobjType 53 53 { 54 54 VOBJ_TYPE_ELF = 0, // loadable code/data object of elf files … … 62 62 }; 63 63 64 enum 64 enum psegType 65 65 { 66 66 PSEG_TYPE_RAM = 0, … … 69 69 }; 70 70 71 enum 71 enum periphType 72 72 { 73 73 PERIPH_TYPE_IOC = 0, … … 80 80 }; 81 81 82 enum 82 enum mwmrPortDirection 83 83 { 84 84 PORT_TO_COPROC = 0, // status register … … 214 214 { 215 215 char name[32]; // coprocessor name 216 unsigned int psegid; // pseg index in cluster216 unsigned int psegid; // global pseg index 217 217 unsigned int ports; // number of MWMR ports used by coprocessor 218 218 unsigned int port_offset; // index of first MWMR port used by coprocessor -
soft/giet_vm/xml/xml_parser.c
r189 r200 250 250 printf(" direction = %s\n", str); 251 251 #endif 252 if ( strcmp(str, "TO_COPROC") ) cp_port[cp_port_index]->direction = PORT_TO_COPROC;253 else if ( strcmp(str, "FROM_COPROC") ) cp_port[cp_port_index]->direction = PORT_FROM_COPROC;252 if ( strcmp(str, "TO_COPROC") == 0 ) cp_port[cp_port_index]->direction = PORT_TO_COPROC; 253 else if ( strcmp(str, "FROM_COPROC") == 0 ) cp_port[cp_port_index]->direction = PORT_FROM_COPROC; 254 254 else 255 255 { … … 1874 1874 { 1875 1875 unsigned int i; 1876 //asign for all cp_ports the correct vspaceid and vobjid 1876 1877 for(i=0; i< cp_port_index; i++) 1877 1878 {
Note: See TracChangeset
for help on using the changeset viewer.