Last change
on this file since 287 was
262,
checked in by cfuguet, 11 years ago
|
- Modification in giet_xml/xml_parser.c:
When parsing IRQs, compare agains IRQ_TYPE_* constants instead of
numbers for readibility
- Modification in giet_common/utils.c
Adding utility function to write on CP0 status register
- Modification in giet_boot/boot.c
After loading the kernel.elf file, the GIET exception handler is
available (giet entry point). Therefore, we can reset the BEV bit
of the status register to use the giet entry point instead of the
preloader entry point in case of exception during kernel init
function.
|
-
Property svn:executable set to
*
|
File size:
407 bytes
|
Line | |
---|
1 | |
---|
2 | all: xml2bin bin2xml |
---|
3 | |
---|
4 | bin2xml: xml_driver.c mapping_info.h |
---|
5 | gcc -Wall -I. -I../sys xml_driver.c -o bin2xml |
---|
6 | |
---|
7 | xml2bin: xml_parser.c mapping_info.h |
---|
8 | gcc -Wall -I. -I../giet_kernel -I/usr/include/libxml2 xml_parser.c -o xml2bin -lxml2 |
---|
9 | |
---|
10 | test: |
---|
11 | ./xml2bin map.xml test.bin |
---|
12 | ./bin2xml test.bin test.xml |
---|
13 | |
---|
14 | up_test: |
---|
15 | ./xml2bin ../map.xml ../test.bin |
---|
16 | ./bin2xml ../test.bin ../test.xml |
---|
17 | |
---|
18 | |
---|
19 | clean: |
---|
20 | rm -f xml2bin bin2xml |
---|
Note: See
TracBrowser
for help on using the repository browser.