Commit cab34639 authored by Timothy E Baldwin's avatar Timothy E Baldwin Committed by ROOL
Browse files

Fix SWI calls not returning when TaskWindow_Morite received

Was calling OS_Exit immediately upon TaskWindow_Morite being
received, even if in a SWI call.

Instead flag for later attention like Message_Quit.

This results in error being returned from sleeping SWI calls, and
OS_Exit being called in a callback after supervisor mode code has
had a chance to clean up.

Version 0.82. Tagged as 'TaskWindow-0_82'
parent 230e487b
......@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate
GBLS Module_HelpVersion
GBLS Module_ComponentName
Module_MajorVersion SETS "0.81"
Module_Version SETA 81
Module_MajorVersion SETS "0.82"
Module_Version SETA 82
Module_MinorVersion SETS ""
Module_Date SETS "08 Jun 2019"
Module_ApplicationDate SETS "08-Jun-19"
Module_Date SETS "01 Mar 2021"
Module_ApplicationDate SETS "01-Mar-21"
Module_ComponentName SETS "TaskWindow"
Module_FullVersion SETS "0.81"
Module_HelpVersion SETS "0.81 (08 Jun 2019)"
Module_FullVersion SETS "0.82"
Module_HelpVersion SETS "0.82 (01 Mar 2021)"
END
/* (0.81)
/* (0.82)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.81
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 08 Jun 2019
#define Module_MajorVersion_CMHG 0.82
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 01 Mar 2021
#define Module_MajorVersion "0.81"
#define Module_Version 81
#define Module_MajorVersion "0.82"
#define Module_Version 82
#define Module_MinorVersion ""
#define Module_Date "08 Jun 2019"
#define Module_Date "01 Mar 2021"
#define Module_ApplicationDate "08-Jun-19"
#define Module_ApplicationDate "01-Mar-21"
#define Module_ComponentName "TaskWindow"
#define Module_FullVersion "0.81"
#define Module_HelpVersion "0.81 (08 Jun 2019)"
#define Module_LibraryVersionInfo "0:81"
#define Module_FullVersion "0.82"
#define Module_HelpVersion "0.82 (01 Mar 2021)"
#define Module_LibraryVersionInfo "0:82"
......@@ -4568,11 +4568,7 @@ Null
50
LDR r2, =Morite
TEQ r0, r2 ; Is it die?
BNE %f60 ; Branch if not
ASSERT Morite <> 0
STR r0, Moribund ; Remember if so
B abex_exit
60
BEQ %b20 ; Branch if so
LDR r2, =Suspend ; Is it suspend?
TEQ r0, r2
STREQ r0, Suspended ; Now suspended
......
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