summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-19 09:34:02 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-19 21:33:05 +0000
commit6d5efa406b96158e8f519064f5e377f60147cdc3 (patch)
tree3101f02d1f11ab1e7557a4534085bb813c68a924 /core
parentfabb25e9ebaa3f44adcd6e369c24e54021a9299b (diff)
downloadchrome-ec-6d5efa406b96158e8f519064f5e377f60147cdc3.tar.gz
coil: replace non-inclusive terms with "placeholder"
BUG=b:173227629 TEST=make buildall -j Change-Id: I2b203dfe45416aa3b632f6f788d14264b08f44e0 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293252 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/init.S3
-rw-r--r--core/cortex-m/switch.S4
2 files changed, 3 insertions, 4 deletions
diff --git a/core/cortex-m/init.S b/core/cortex-m/init.S
index 5b7afb2ed8..078505d0a8 100644
--- a/core/cortex-m/init.S
+++ b/core/cortex-m/init.S
@@ -103,7 +103,7 @@ _data_end:
_data_lma_start:
.long __data_lma_start
-/* Dummy functions to avoid linker complaints */
+/* Placeholder functions to avoid linker complaints */
.global __aeabi_unwind_cpp_pr0
.global __aeabi_unwind_cpp_pr1
.global __aeabi_unwind_cpp_pr2
@@ -118,4 +118,3 @@ stack_start:
.space CONFIG_STACK_SIZE, 0
stack_end:
.global stack_end
-
diff --git a/core/cortex-m/switch.S b/core/cortex-m/switch.S
index ae76b64c37..4b87feac88 100644
--- a/core/cortex-m/switch.S
+++ b/core/cortex-m/switch.S
@@ -80,7 +80,8 @@ __switchto:
.global __task_start
.thumb_func
__task_start:
- ldr r2,=scratchpad @ area used as dummy thread stack for the first switch
+ ldr r2,=scratchpad @ area used as placeholder thread stack for the first
+ @ switch
mov r3, #2 @ use : priv. mode / thread stack / no floating point
@ setting FP to unused here means first context switch
@ will not store FP regs
@@ -98,4 +99,3 @@ __task_start:
/* we should never return here */
mov r0, #1 @ set to EC_ERROR_UNKNOWN
bx lr
-