summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit
diff options
context:
space:
mode:
authoramlal <amlal@el-mahrouss-logic.com>2024-03-23 16:56:06 +0100
committeramlal <amlal@el-mahrouss-logic.com>2024-03-23 16:56:06 +0100
commitd9477b8a80ee0dc9a6d05c0353aa989ceaedae8a (patch)
treeaa83b66e9a03af1f521fec878a934766d900f386 /Private/HALKit
parentcc90e0380480a0116a11a89877ad974520cbbba3 (diff)
unstable, secret: bump.
Signed-off-by: amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/HALKit')
-rw-r--r--Private/HALKit/AMD64/HalInterruptRouting.asm4
-rw-r--r--Private/HALKit/AMD64/HalKernelMain.cxx2
-rw-r--r--Private/HALKit/AMD64/HalKernelMouse.cxx4
3 files changed, 4 insertions, 6 deletions
diff --git a/Private/HALKit/AMD64/HalInterruptRouting.asm b/Private/HALKit/AMD64/HalInterruptRouting.asm
index 05f14e36..06e40161 100644
--- a/Private/HALKit/AMD64/HalInterruptRouting.asm
+++ b/Private/HALKit/AMD64/HalInterruptRouting.asm
@@ -36,7 +36,7 @@ global _ke_power_on_self_test
global ke_handle_irq
global kInterruptVectorTable
-extern _hal_mouse_handler
+extern _hal_handle_mouse
extern idt_handle_gpf
extern idt_handle_pf
extern ke_io_print
@@ -109,7 +109,7 @@ IntNormal 31
__HCR_INT_32:
push rax
- call _hal_mouse_handler
+ call _hal_handle_mouse
pop rax
iretq
diff --git a/Private/HALKit/AMD64/HalKernelMain.cxx b/Private/HALKit/AMD64/HalKernelMain.cxx
index e78be6ec..5ceb57bd 100644
--- a/Private/HALKit/AMD64/HalKernelMain.cxx
+++ b/Private/HALKit/AMD64/HalKernelMain.cxx
@@ -21,7 +21,7 @@
EXTERN_C HCore::Void _hal_init_mouse();
EXTERN_C HCore::Void _hal_draw_mouse();
-EXTERN_C HCore::Void _hal_mouse_handler();
+EXTERN_C HCore::Void _hal_handle_mouse();
EXTERN_C HCore::VoidPtr kInterruptVectorTable[];
diff --git a/Private/HALKit/AMD64/HalKernelMouse.cxx b/Private/HALKit/AMD64/HalKernelMouse.cxx
index cafebc9e..2033badc 100644
--- a/Private/HALKit/AMD64/HalKernelMouse.cxx
+++ b/Private/HALKit/AMD64/HalKernelMouse.cxx
@@ -14,8 +14,6 @@
EXTERN_C HCore::Void _hal_draw_mouse();
EXTERN_C HCore::Void _hal_init_mouse();
-EXTERN_C void ke_io_print(const char* bytes);
-
STATIC HCore::Int32 kPrevX = 0;
STATIC HCore::Int32 kPrevY = 0;
STATIC HCore::Int32 kX = 0;
@@ -78,7 +76,7 @@ Void hal_handle_mouse() {
}
/// @brief Interrupt handler for the mouse.
-EXTERN_C Void _hal_mouse_handler() { hal_handle_mouse(); }
+EXTERN_C Void _hal_handle_mouse() { hal_handle_mouse(); }
/// @brief Draws the kernel's mouse.
EXTERN_C Void _hal_draw_mouse() {