Commit 385399f2 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Update Wimp to use new VFPSupport_ChangeContext_AppSpace flag

Detail:
  s/Wimp03, s/Wimp07 - When saving the VFP context the Wimp now uses lazy context switching where possible, via a combination of the Lazy & AppSpace flags
Admin:
  Tested on rev A2 BB-xM
  Requires VFPSupport 0.02


Version 5.11. Tagged as 'Wimp-5_11'
parent 80a42a8c
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.10"
Module_Version SETA 510
Module_MajorVersion SETS "5.11"
Module_Version SETA 511
Module_MinorVersion SETS ""
Module_Date SETS "04 Dec 2010"
Module_ApplicationDate SETS "04-Dec-10"
Module_Date SETS "01 Feb 2011"
Module_ApplicationDate SETS "01-Feb-11"
Module_ComponentName SETS "Wimp"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Wimp"
Module_FullVersion SETS "5.10"
Module_HelpVersion SETS "5.10 (04 Dec 2010)"
Module_FullVersion SETS "5.11"
Module_HelpVersion SETS "5.11 (01 Feb 2011)"
END
/* (5.10)
/* (5.11)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 5.10
#define Module_MajorVersion_CMHG 5.11
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 04 Dec 2010
#define Module_Date_CMHG 01 Feb 2011
#define Module_MajorVersion "5.10"
#define Module_Version 510
#define Module_MajorVersion "5.11"
#define Module_Version 511
#define Module_MinorVersion ""
#define Module_Date "04 Dec 2010"
#define Module_Date "01 Feb 2011"
#define Module_ApplicationDate "04-Dec-10"
#define Module_ApplicationDate "01-Feb-11"
#define Module_ComponentName "Wimp"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Wimp"
#define Module_FullVersion "5.10"
#define Module_HelpVersion "5.10 (04 Dec 2010)"
#define Module_LibraryVersionInfo "5:10"
#define Module_FullVersion "5.11"
#define Module_HelpVersion "5.11 (01 Feb 2011)"
#define Module_LibraryVersionInfo "5:11"
......@@ -437,10 +437,10 @@ SWIWimp_Poll
STR userblk,[R4,#task_registers+4*1] ; and user R1
STR R2,[R4,#task_registers+4*2] ; and target time
;
; save VFP context. Can't save lazily since it might be in application space.
; save VFP context, lazily if possible
;
MOV R0,#0
MOV R1,#0
MOV R1,#VFPSupport_ChangeContext_Lazy+VFPSupport_ChangeContext_AppSpace
SWI XVFPSupport_ChangeContext
MOVVS R0,#0 ; Ignore error (probably means VFPSupport isn't loaded)
STR R0,[R4,#task_vfpcontext]
......
......@@ -747,11 +747,11 @@ SWIWimp_StartTask
BLVC saveFPregs ; R4 -> task block
BVS ExitWimp
;
; save VFP context. Can't save lazily since it might be in application space.
; save VFP context, lazily if possible
;
Push "R0-R1"
MOV R0,#0
MOV R1,#0
MOV R1,#VFPSupport_ChangeContext_Lazy+VFPSupport_ChangeContext_AppSpace
SWI XVFPSupport_ChangeContext
MOVVS R0,#0 ; Ignore error (probably means VFPSupport isn't loaded)
STR R0,[R4,#task_vfpcontext]
......
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