Ignore:
Timestamp:
Dec 14, 2013, 8:39:48 PM (11 years ago)
Author:
cfuguet
Message:
  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_boot/boot.c

    r258 r262  
    20992099    }  // end monoprocessor boot
    21002100
     2101    // reset BEV bit in the status register to use GIET exception
     2102    // handler instead of the PRELOADER exception handler
     2103    _set_sr( 0 );
     2104
    21012105    // all processor initialise SCHED register
    21022106    _set_sched( (unsigned int)_schedulers[procid] );
Note: See TracChangeset for help on using the changeset viewer.