• Jeffrey Lee's avatar
    Fix PMP corruption caused by early errors generated by OS_DynamicArea 21 · 88376e28
    Jeffrey Lee authored
    Detail:
      s/ChangeDyn - When DynArea_PMP_PhysOp generates an error during the initial page list scan, make sure r12 is initialised to the (new) PMP size, as expected by PMPMemoryMoved.
      s/AMBControl/allocate, s/AMBControl/growshrink - Document some extra exit conditions for the AMB allocate & grow/shrink routines
    Admin:
      Tested on BB-xM
      Fixes RAM disc PMP becoming corrupt when attempting to grow it (e.g. via *ChangeDynamicArea) by an amount larger than the amount of free memory in the system
    
    
    Version 5.35, 4.79.2.324. Tagged as 'Kernel-5_35-4_79_2_324'
    88376e28
allocate 3.96 KB