File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,18 +8,13 @@ TARGET_INCLUDE_DIRECTORIES (arch INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
88
99TARGET_SOURCES (
1010 arch
11- INTERFACE $<$<STREQUAL :${CMAKE_SYSTEM_PROCESSOR } ,riscv64 >:
12- ${CMAKE_SYSTEM_PROCESSOR } /switch .S
13- ${CMAKE_SYSTEM_PROCESSOR } /trap .S
14- >
15- $<$<STREQUAL :${CMAKE_SYSTEM_PROCESSOR } ,aarch64 >:
16- ${CMAKE_SYSTEM_PROCESSOR } /interrupt .S
17- >
18- ${CMAKE_SYSTEM_PROCESSOR } /boot.S
11+ INTERFACE ${CMAKE_SYSTEM_PROCESSOR } /boot.S
1912 ${CMAKE_SYSTEM_PROCESSOR } /macro.S
2013 ${CMAKE_SYSTEM_PROCESSOR } /arch_main.cpp
2114 ${CMAKE_SYSTEM_PROCESSOR } /early_console.cpp
2215 ${CMAKE_SYSTEM_PROCESSOR } /backtrace.cpp
16+ ${CMAKE_SYSTEM_PROCESSOR } /interrupt.S
17+ ${CMAKE_SYSTEM_PROCESSOR } /switch.S
2318 ${CMAKE_SYSTEM_PROCESSOR } /interrupt.cpp
2419 ${CMAKE_SYSTEM_PROCESSOR } /timer.cpp
2520 ${CMAKE_SYSTEM_PROCESSOR } /interrupt_main.cpp
File renamed without changes.
Original file line number Diff line number Diff line change 11/**
22 * @copyright Copyright The SimpleKernel Contributors
3+ * @note 需要与 MRNIU/cpu_io/include/riscv64/context.hpp 中的结构体定义保持一致
34 */
45
56// 对齐到 16 字节
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extern "C" void kernel_thread_entry();
2020// 在 switch.S 中定义
2121extern " C" void trap_return (void *);
2222
23- // 在 trap .S 中定义
23+ // 在 interrupt .S 中定义
2424extern " C" void trap_entry ();
2525
2626class InterruptBase {
You can’t perform that action at this time.
0 commit comments