• Jeffrey Lee's avatar
    Fix PCI dynamic area growth logic · ab92495a
    Jeffrey Lee authored
    Detail:
      s/Memory - Fixed a couple of bugs in the dynamic area growth logic that could cause it to fail in some situations:
      * If a boundary value was specified, an invalid boundary value was being passed to OS_Heap when the operation was retried, causing the op to fail
      * The heap grow code was enforcing a minimum alignment of 8 bytes as a way of trying to ensure there'd be enough space for a used block header. However this won't work if the alignment is greater than 4 to begin with; it's much better to just add the extra 4 bytes onto r0 to begin with.
    Admin:
      Tested in Iyonix ROM softload
      Fixes issue reported on forums with floppy access not working:
      http://www.riscosopen.org/forum/forums/5/topics/905
    
    
    Version 0.11. Tagged as 'PCI-0_11'
    ab92495a
VersionNum 802 Bytes