• Jeffrey Lee's avatar
    Add OS_ReadSysInfo reason codes 11 (read debug info) & 12 (read extended machine ID) · e42119c8
    Jeffrey Lee authored
    Detail:
      OS_ReadSysInfo 10 is left unimplemented since it's a bit fiddly for us.
      OS_ReadSysInfo 11 is compatible with ROL's implementation, exposing HAL_DebugTX and HAL_DebugRX if the HAL provides them.
      See here for 10,11 docs: http://select.riscos.com/prm/core/osreadsysinfo.html
      OS_ReadSysInfo 12 is a new call to return the 'extended machine ID', to allow the HAL to specify the format & validity of the ID.
      If the HAL responds to the new HAL_ExtMachineID call then it's assumed that no old-style machine ID is present. The Kernel will generate an old-style ID using the contents of the extended ID, and use that with OS_ReadSysInfo 2/5.
      New software should use OS_ReadSysInfo 12 in preference to 2/5.
      s/Middle - Updated OS_ReadSysInfo SWI
      s/PMF/osinit - New old-style machine ID initialisation code
      hdr/HALEntries - Added new HAL_ExtMachineID entry
    Admin:
      Tested on rev A2 BB-xM
    
    
    Version 5.35, 4.79.2.98.2.34. Tagged as 'Kernel-5_35-4_79_2_98_2_34'
    e42119c8
HALEntries 6.7 KB