• Jeffrey Lee's avatar
    Fix PMP corruption caused by early errors generated by OS_DynamicArea 21 · 88376e28
    Jeffrey Lee authored
      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
      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, Tagged as 'Kernel-5_35-4_79_2_324'
ChangeDyn 276 KB