• Jeffrey Lee's avatar
    Fix stack imbalance and incorrect return value in OS_DynamicArea 23 (PMP resize) · d181963e
    Jeffrey Lee authored
    Detail:
      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.
    Admin:
      Tested on BB-xM
    
    
    Version 5.58. Tagged as 'Kernel-5_58'
    d181963e
VersionASM 1006 Bytes
;
; This file is automatically maintained by srccommit, do not edit manually.
; Last processed by srccommit version: 1.1.
;
                        GBLS    Module_MajorVersion
                        GBLA    Module_Version
                        GBLS    Module_MinorVersion
                        GBLS    Module_Date
                        GBLS    Module_FullVersion
                        GBLS    Module_ApplicationDate
                        GBLS    Module_HelpVersion
                        GBLS    Module_ComponentName
                        GBLS    Module_ComponentPath
Module_MajorVersion     SETS    "5.58"
Module_Version          SETA    558
Module_MinorVersion     SETS    ""
Module_Date             SETS    "23 Aug 2016"
Module_ApplicationDate  SETS    "23-Aug-16"
Module_ComponentName    SETS    "Kernel"
Module_ComponentPath    SETS    "castle/RiscOS/Sources/Kernel"
Module_FullVersion      SETS    "5.58"
Module_HelpVersion      SETS    "5.58 (23 Aug 2016)"
                        END