summaryrefslogtreecommitdiff
path: root/big-little/switcher/trigger/handle_switchover.s
diff options
context:
space:
mode:
Diffstat (limited to 'big-little/switcher/trigger/handle_switchover.s')
-rw-r--r--big-little/switcher/trigger/handle_switchover.s26
1 files changed, 13 insertions, 13 deletions
diff --git a/big-little/switcher/trigger/handle_switchover.s b/big-little/switcher/trigger/handle_switchover.s
index 4f26183..99c8380 100644
--- a/big-little/switcher/trigger/handle_switchover.s
+++ b/big-little/switcher/trigger/handle_switchover.s
@@ -1,25 +1,25 @@
;
; Copyright (c) 2012, ARM Limited. All rights reserved.
- ;
+ ;
; Redistribution and use in source and binary forms, with
; or without modification, are permitted provided that the
; following conditions are met:
- ;
+ ;
; Redistributions of source code must retain the above
- ; copyright notice, this list of conditions and the
+ ; copyright notice, this list of conditions and the
; following disclaimer.
;
; Redistributions in binary form must reproduce the
- ; above copyright notice, this list of conditions and
- ; the following disclaimer in the documentation
+ ; above copyright notice, this list of conditions and
+ ; the following disclaimer in the documentation
; and/or other materials provided with the distribution.
- ;
+ ;
; Neither the name of ARM nor the names of its
; contributors may be used to endorse or promote products
; derived from this software without specific prior written
- ; permission.
- ;
-
+ ; permission.
+ ;
+
AREA SwitchoverCode, CODE, READONLY, ALIGN=5
PRESERVE8
@@ -31,9 +31,9 @@
SMC_SEC_SHUTDOWN EQU 0x2
OP_TYPE_SWITCH EQU 0x1
-
+
switch_cluster FUNCTION
- ; ----------------------------------------------------
+ ; ----------------------------------------------------
; Save the NS state and ask the secure world to save
; its context and bring the corresponding inbound core
; out of reset
@@ -41,7 +41,7 @@ switch_cluster FUNCTION
MOV r1, #OP_TYPE_SWITCH
BL save_context
- ; ----------------------------------------------------
+ ; ----------------------------------------------------
; All context has been saved and restored. The inbound
; core has resumed payload execution. Ask the secure
; world to clean the caches and power down the cluster
@@ -51,7 +51,7 @@ switch_cluster FUNCTION
LDR r1, [r1]
MOV r2, #OP_TYPE_SWITCH
BL smc
- ENDFUNC
+ ENDFUNC
END