summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 19:53:55 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 19:53:55 +0100
commit7d16da2a6bc9cc1dd18c2075ed2f39963037fac4 (patch)
treea4e788949e75beabdb2c01cc38a2aeb0cae6869f
parent8621867b0e4b38dedc8556e6c483e3575d776af0 (diff)
Kernel: Set rsp to rax, to update the stack pointer.
DDK: Add Device Driver Kit directory. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
-rw-r--r--Private/HALKit/AMD64/HalInterruptRouting.asm1
-rw-r--r--Public/DDK/.gitkeep0
-rw-r--r--Public/DDK/README.TXT3
3 files changed, 4 insertions, 0 deletions
diff --git a/Private/HALKit/AMD64/HalInterruptRouting.asm b/Private/HALKit/AMD64/HalInterruptRouting.asm
index 36be9de4..9bc13f15 100644
--- a/Private/HALKit/AMD64/HalInterruptRouting.asm
+++ b/Private/HALKit/AMD64/HalInterruptRouting.asm
@@ -58,6 +58,7 @@ ke_handle_irq:
mov rdi, rsp
call rt_handle_interrupts
+ mov rsp, rax
pop r15
pop r14
diff --git a/Public/DDK/.gitkeep b/Public/DDK/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Public/DDK/.gitkeep
diff --git a/Public/DDK/README.TXT b/Public/DDK/README.TXT
new file mode 100644
index 00000000..fec20a60
--- /dev/null
+++ b/Public/DDK/README.TXT
@@ -0,0 +1,3 @@
+Device Driver Kit
+
+A Common framework for Device driver development.