• Jeffrey Lee's avatar
    Fix stack imbalance and incorrect return value in OS_DynamicArea 23 (PMP resize) · d181963e
    Jeffrey Lee authored
      s/ChangeDyn - When OS_DynamicArea 23 returned an error, R2 wasn't being set to zero correctly, incorrectly suggesting that a change had been made. And when a non-error resize of zero was being performed, registers were being pulled twice, resulting in a stack imbalance and crash.
      Tested on BB-xM
    Version 5.58. Tagged as 'Kernel-5_58'
VersionASM 1006 Bytes