summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/HALKit/RISCV
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/HALKit/RISCV')
-rw-r--r--dev/kernel/HALKit/RISCV/AP.h2
-rw-r--r--dev/kernel/HALKit/RISCV/HalApplicationProcessor.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev/kernel/HALKit/RISCV/AP.h b/dev/kernel/HALKit/RISCV/AP.h
index 0e94fd97..79b0d038 100644
--- a/dev/kernel/HALKit/RISCV/AP.h
+++ b/dev/kernel/HALKit/RISCV/AP.h
@@ -13,7 +13,7 @@
#pragma once
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel {
typedef Int64 hal_ap_kind;
diff --git a/dev/kernel/HALKit/RISCV/HalApplicationProcessor.cc b/dev/kernel/HALKit/RISCV/HalApplicationProcessor.cc
index 80162b81..31d4a62e 100644
--- a/dev/kernel/HALKit/RISCV/HalApplicationProcessor.cc
+++ b/dev/kernel/HALKit/RISCV/HalApplicationProcessor.cc
@@ -25,7 +25,7 @@ void mp_wakeup_thread(HAL::StackFramePtr stack) {
if (!stack) return;
hal_set_pc_to_hart(reinterpret_cast<HAL_HARDWARE_THREAD*>(stack->R15),
- reinterpret_cast<VoidPtr>(stack->BP));
+ reinterpret_cast<VoidPtr>(stack->IP));
}
/// @brief makes thread sleep.