Commit b2c2bc9e authored by Ben Avison's avatar Ben Avison
Browse files

"Unknown OS_PlatformFeatures reason code" now has a non-zero error number.

Detail:
  Error number &1F3 allocated.
Admin:
  Requires HdrSrc 1.63.
  Fix supplied by Rob Sprowson.

Version 5.35, 4.79.2.99. Tagged as 'Kernel-5_35-4_79_2_99'
parent ab08ee91
......@@ -13,11 +13,11 @@
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.35"
Module_Version SETA 535
Module_MinorVersion SETS "4.79.2.98"
Module_Date SETS "22 Dec 2008"
Module_ApplicationDate SETS "22-Dec-08"
Module_MinorVersion SETS "4.79.2.99"
Module_Date SETS "15 Apr 2009"
Module_ApplicationDate SETS "15-Apr-09"
Module_ComponentName SETS "Kernel"
Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel"
Module_FullVersion SETS "5.35 (4.79.2.98)"
Module_HelpVersion SETS "5.35 (22 Dec 2008) 4.79.2.98"
Module_FullVersion SETS "5.35 (4.79.2.99)"
Module_HelpVersion SETS "5.35 (15 Apr 2009) 4.79.2.99"
END
......@@ -5,19 +5,19 @@
*
*/
#define Module_MajorVersion_CMHG 5.35
#define Module_MinorVersion_CMHG 4.79.2.98
#define Module_Date_CMHG 22 Dec 2008
#define Module_MinorVersion_CMHG 4.79.2.99
#define Module_Date_CMHG 15 Apr 2009
#define Module_MajorVersion "5.35"
#define Module_Version 535
#define Module_MinorVersion "4.79.2.98"
#define Module_Date "22 Dec 2008"
#define Module_MinorVersion "4.79.2.99"
#define Module_Date "15 Apr 2009"
#define Module_ApplicationDate "22-Dec-08"
#define Module_ApplicationDate "15-Apr-09"
#define Module_ComponentName "Kernel"
#define Module_ComponentPath "castle/RiscOS/Sources/Kernel"
#define Module_FullVersion "5.35 (4.79.2.98)"
#define Module_HelpVersion "5.35 (22 Dec 2008) 4.79.2.98"
#define Module_FullVersion "5.35 (4.79.2.99)"
#define Module_HelpVersion "5.35 (15 Apr 2009) 4.79.2.99"
#define Module_LibraryVersionInfo "5:35"
......@@ -1563,6 +1563,7 @@ PlatFeatSWI ROUT
BNE %FT50 ;No, so send out a service call
;Ok, it's the 'code_features' reason code.
ASSERT ZeroPage = 0
LDR r0,[r0, #ProcessorFlags]
TST r0, #CPUFlag_InterruptDelay
ADRNE r1, platfeat_irqinsert ;Yep, so point R1 to the delay routine
......@@ -1592,7 +1593,7 @@ platfeat_irqinsert
]
75 ;Get here if the service call isn't claimed.
ADR R0,platfeaterror
ADR R0, ErrorBlock_BadPlatReas
[ International
Push "lr"
BL TranslateError
......@@ -1600,14 +1601,7 @@ platfeat_irqinsert
]
B SLVK_SetV
platfeaterror
& 0
[ International
= "BadPlatReas", 0
|
= "Unknown OS_PlatformFeatures reason code", 0
]
ALIGN
MakeErrorBlock BadPlatReas
]
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment