Hi Kumar: I'm sorry that the reply becomes slow.
Kumar Gala wrote: >> > > Any reason you moved this code into DecrementerHandler? > >> /* 0x1000 - Programmable Interval Timer (PIT) Exception */ >> START_EXCEPTION(0x1000, Decrementer) >> - NORMAL_EXCEPTION_PROLOG >> - lis r0,TSR_PIS at h >> - mtspr SPRN_TSR,r0 /* Clear the PIT exception */ >> - addi r3,r1,STACK_FRAME_OVERHEAD >> - EXC_XFER_LITE(0x1000, timer_interrupt) >> + b DecrementerHandler >> Current PIT exception handler is too big. If it is not moved, compilation is failed with relocation error. Because current PIT handler overwrites WDT handler's codes, the compiler can not relocate PIT and WDT handler correctly.
