• Jeffrey Lee's avatar
    OS_Memory 13/14/15 fixes · eb908a1e
    Jeffrey Lee authored
      s/HAL - Change RISCOS_AccessPhysicalAddress & RISCOS_ReleasePhysicalAddress (aka OS_Memory 14 & 15) to use the MMU_ChangingUncached ARMop instead of TLB_InvalidateEntry, as on ARMv6+ the MMU version ensures the write has been flushed to be visible by the TLB, while the TLB invalidate call doesn't.
      Fix RISCOS_MapInIO (aka OS_Memory 13) not detecting regions which have already been mapped in due to L1_XN flag masking issue. Also issue DSB+ISB after the page table write(s) to ensure it's visible by the TLB hardware.
      Tested on IGEPv5
    Version 5.35, Tagged as 'Kernel-5_35-4_79_2_305'
VersionNum 843 Bytes