diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-01-05 22:01:51 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-01-05 22:01:51 +0100 |
commit | ef4a7bbe3a818e5166548d1ba5edee7713c66214 (patch) | |
tree | b0ba8576af43c1a391f36c8b3ce12229d1399112 /apps/os2/os2_cm3.s | |
parent | ec96951943921b57ef9c1e9dacb63e34716fe5b7 (diff) | |
download | stm32f103-playground-ef4a7bbe3a818e5166548d1ba5edee7713c66214.tar.gz stm32f103-playground-ef4a7bbe3a818e5166548d1ba5edee7713c66214.tar.bz2 stm32f103-playground-ef4a7bbe3a818e5166548d1ba5edee7713c66214.tar.xz stm32f103-playground-ef4a7bbe3a818e5166548d1ba5edee7713c66214.zip |
o Seemingly working Mutexes.
o Dropping the privileged/unprivileged split for now.
Diffstat (limited to 'apps/os2/os2_cm3.s')
-rw-r--r-- | apps/os2/os2_cm3.s | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/os2/os2_cm3.s b/apps/os2/os2_cm3.s index aa18703..f0eb4b7 100644 --- a/apps/os2/os2_cm3.s +++ b/apps/os2/os2_cm3.s @@ -32,11 +32,11 @@ do_first_context_switch: msr control, r0 isb - // Set CONTROL.nPRIV=1 so that we run with in unprivileged mode - mrs r0, control - orr r0, #1 - msr control, r0 - isb +// // Set CONTROL.nPRIV=1 so that we run with in unprivileged mode +// mrs r0, control +// orr r0, #1 +// msr control, r0 +// isb // Restore the data from hardware_frame_t. pop {r0 - r3, r12, lr} @@ -44,11 +44,11 @@ do_first_context_switch: pop {r4, r5} bx r4 -.thumb_func -.global _ZN7trygvis3os22os10rescheduleEv -_ZN7trygvis3os22os10rescheduleEv: - svc #0 - bx lr +// .thumb_func +// .global _ZN7trygvis3os22os10rescheduleEv +// _ZN7trygvis3os22os10rescheduleEv: +// svc #0 +// bx lr // A very simple idle task, just to know exactly which registers that are used and what their values are supposed to be. // Toggles GPIO B, pin #6 on a STM32F103 |