summaryrefslogtreecommitdiffhomepage
path: root/dev/libDDK
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-25 10:36:23 +0200
committerGitHub <noreply@github.com>2025-08-25 10:36:23 +0200
commitb820542aa04e302f0b08224b2fb9e727260d00bd (patch)
tree06383361544fbe3054b700ae26beb017aa46f013 /dev/libDDK
parent1057fd299e17fcc04f6b3a1aa3ace1026f8652a0 (diff)
parentb38d3345dd46b474cfda05fe34188910623f4f7c (diff)
Merge pull request #57 from nekernel-org/dev
fix: ddk: urgent fixes.
Diffstat (limited to 'dev/libDDK')
-rw-r--r--dev/libDDK/src/ddk_kernel_call_dispatch.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/libDDK/src/ddk_kernel_call_dispatch.S b/dev/libDDK/src/ddk_kernel_call_dispatch.S
index 05ee8209..808aa11a 100644
--- a/dev/libDDK/src/ddk_kernel_call_dispatch.S
+++ b/dev/libDDK/src/ddk_kernel_call_dispatch.S
@@ -12,14 +12,16 @@
#if defined(__DDK_AMD64__)
+ .intel_syntax noprefix
+
/* args rcx, rdx, r8, r9 */
__ke_call_dispatch:
- pushq rbp
- movq rbp, rsp
+ push rbp
+ mov rbp, rsp
syscall
- popq rbp
+ pop rbp
ret