• Timothy E Baldwin's avatar
    Eliminate callback check to Portable_Idle races · 994cc0d9
    Timothy E Baldwin authored
    Previously both `RdchInkey` and `PageTest` enabled interrupts after
    running callbacks before calling Portable_Idle with the result that
    callback could be delayed until the next interrupt.
    
    * Change `process_callback_chain` to leave interrupts disabled, and
      rename accordingly.
    * Remove redundant check of CallBack_Flag.
    * In `PageTest` move running calbacks into `CtrlShiftTest`, so that
      it is immediately before the test.
    * Re-enable interrupts at appropriate locations.
    
    Tested on StrongARM Risc PC.
    
    Version 6.44. Tagged as 'Kernel-6_44'
    994cc0d9
key 54.9 KB