Changeset 262 for soft/giet_vm/giet_xml
- Timestamp:
- Dec 14, 2013, 8:39:48 PM (11 years ago)
- Location:
- soft/giet_vm/giet_xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/Makefile
r258 r262 3 3 4 4 bin2xml: xml_driver.c mapping_info.h 5 gcc -Wall - g -I. -I../sys xml_driver.c -o bin2xml5 gcc -Wall -I. -I../sys xml_driver.c -o bin2xml 6 6 7 7 xml2bin: xml_parser.c mapping_info.h 8 gcc -Wall - g -I. -I../giet_kernel -I/usr/include/libxml2 xml_parser.c -o xml2bin -lxml28 gcc -Wall -I. -I../giet_kernel -I/usr/include/libxml2 xml_parser.c -o xml2bin -lxml2 9 9 10 10 test: … … 18 18 19 19 clean: 20 rm xml2bin bin2xml 21 22 20 rm -f xml2bin bin2xml -
soft/giet_vm/giet_xml/xml_parser.c
r258 r262 1545 1545 printf(" type = %s\n", str); 1546 1546 #endif 1547 if ( strcmp(str, "HARD") == 0 ) irq[irq_index]->type = 0;1548 else if ( strcmp(str, "SOFT") == 0 ) irq[irq_index]->type = 1;1549 else if ( strcmp(str, "TIME") == 0 ) irq[irq_index]->type = 2;1547 if ( strcmp(str, "HARD") == 0 ) irq[irq_index]->type = IRQ_TYPE_HWI; 1548 else if ( strcmp(str, "SOFT") == 0 ) irq[irq_index]->type = IRQ_TYPE_SWI; 1549 else if ( strcmp(str, "TIME") == 0 ) irq[irq_index]->type = IRQ_TYPE_PTI; 1550 1550 else 1551 1551 {
Note: See TracChangeset
for help on using the changeset viewer.