• Robert Sprowson's avatar
    Allow bursting during ClearPhysRAM on StrongARM · adbb31f1
    Robert Sprowson authored
    The StrongARM TRM (and hints from ARM600.s revision 4.3.2.2) show that the StrongARM will only do burst writes to memory marked as C=1 B=1, but by default RISCOS_AccessPhysicalAddress only allows bufferable.
    So, checking for StrongARM first, two extra snippets are enabled - first mark as C=1 B=1, then afterwards clean the cache before moving onto the next 1MB.
    
    On a StrongARM Kinetic these burst writes improve the RAM clear from ~60ms per MB to 40ms per MB. For a 256MB SODIMM that's over 5s knocked off the boot time.
    Other memory configurations will be similarly improved, though 256MB is of course the maximum the motherboard can hold.
    
    Tested in ROM on a Risc PC with StrongARM and ARM710.
    
    Version 5.35, 4.79.2.189. Tagged as 'Kernel-5_35-4_79_2_189'
    adbb31f1
VersionNum 843 Bytes