summaryrefslogtreecommitdiff
path: root/core/cortex-m0
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2020-08-03 13:06:42 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-05 18:41:25 +0000
commitdede4e01ae4c877bb05d671087a6e85a29a0f902 (patch)
tree8aaaba7b7ce04c059ecd4df4de8a5609492065db /core/cortex-m0
parente891cd5ebbb08c9101f1802c2dfcec755718d23f (diff)
downloadchrome-ec-dede4e01ae4c877bb05d671087a6e85a29a0f902.tar.gz
ec: change usage of dummy
Google is working to change its source code to use more inclusive language. To that end, replace the term "dummy" with inclusive alternatives. BUG=b:162781382 BRANCH=None TEST=make -j buildall `grep -ir dummy *` The only results are in "private/nordic_keyboard/sdk8.0.0" which is not our code. Signed-off-by: Sam Hurst <shurst@google.com> Change-Id: I6a42183d998e4db4bb61625f962867fda10722e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335737 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'core/cortex-m0')
-rw-r--r--core/cortex-m0/init.S2
-rw-r--r--core/cortex-m0/switch.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/cortex-m0/init.S b/core/cortex-m0/init.S
index c76f5a3ba3..5047d18380 100644
--- a/core/cortex-m0/init.S
+++ b/core/cortex-m0/init.S
@@ -111,7 +111,7 @@ _data_end:
_data_lma_start:
.long __data_lma_start
-/* Dummy functions to avoid linker complaints */
+/* Mock functions to avoid linker complaints */
.global __aeabi_unwind_cpp_pr0
.global __aeabi_unwind_cpp_pr1
.global __aeabi_unwind_cpp_pr2
diff --git a/core/cortex-m0/switch.S b/core/cortex-m0/switch.S
index ed1148e21b..a27d929816 100644
--- a/core/cortex-m0/switch.S
+++ b/core/cortex-m0/switch.S
@@ -64,7 +64,7 @@ __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 thread stack for the first switch
movs r3, #2 @ use : priv. mode / thread stack / no floating point
adds r2, #17*4 @ put the pointer at the top of the stack
movs r1, #0 @ __Schedule parameter : re-schedule nothing