• Jeffrey Lee's avatar
    Fix OS_Byte 19 getting stuck if it's called just before the screen blanker... · f17af1cf
    Jeffrey Lee authored
    Fix OS_Byte 19 getting stuck if it's called just before the screen blanker activates. Add new OS_ReadSysInfo reason code for determining IIC bus count.
    
    Detail:
      s/PMF/osbyte - For OS_Byte 19, move screen blanker check (and current GraphicsV driver check) inside the WFI loop so that the loop will terminate if the screen should blank (or current GraphicsV driver should die) before the next VSync occurs. Also move the Portable_Idle call to before the interrupt trigger - the old location meant that if the screen blanked we'd continue on to the Portable_Idle call and end up pointlessly stalling the system
      s/Middle - Add OS_ReadSysInfo 14, as a legitimate way of finding the number of IIC buses present on the system
    Admin:
      Tested on Pandaboard
    
    
    Version 5.35, 4.79.2.261. Tagged as 'Kernel-5_35-4_79_2_261'
    f17af1cf
osbyte 38.2 KB