diff options
| author | zhao maosheng <[email protected]> | 2024-04-02 15:43:50 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-04-19 16:18:41 +0800 |
| commit | 4e7d13b2db171148644a5b5183ec480bd98ea813 (patch) | |
| tree | 1f5093488d3d77257963e106d316fadc074cced1 /libcpu | |
| parent | e9133d56609a2e68a0e37843475b66d4c7ee42db (diff) | |
fix: code format of serial.c and compile error in aarch64 context_gcc
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/aarch64/common/context_gcc.S | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libcpu/aarch64/common/context_gcc.S b/libcpu/aarch64/common/context_gcc.S index 9dd3c5e4b0..c425460029 100644 --- a/libcpu/aarch64/common/context_gcc.S +++ b/libcpu/aarch64/common/context_gcc.S @@ -20,11 +20,10 @@ #include "armv8.h" #ifndef RT_USING_SMP -.bss - .align 3 -rt_interrupt_from_thread: .comm 8, 8 -rt_interrupt_to_thread: .comm 8, 8 -rt_thread_switch_interrupt_flag: .comm 8, 8 +.section .data +rt_interrupt_from_thread: .zero 8 +rt_interrupt_to_thread: .zero 8 +rt_thread_switch_interrupt_flag: .zero 8 #endif .text |
