summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelDispatchCall.S
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-03 18:20:35 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-03 18:20:35 +0200
commita7c741c93cb0a53aea686eb2f342f2464bc12c14 (patch)
tree5e90743873451c7f1bc6313d2fb210c470af2cd1 /DDK/KernelDispatchCall.S
parent8c8822fff78f9ff9cd640271da9b3634c4c2f97f (diff)
COMMIT-07-03-2024-MHR-36
IMP: DDK specification and implementation done. - Kernel calls I/O support for DDK. - System calls I/O support for DDK. - Add Allocation routines for DDK. - Add Helloconf driver. - One generic device. IMPRV: - GPU driver is now C++ based. - Fixed icon path inside makefiles. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'DDK/KernelDispatchCall.S')
-rw-r--r--DDK/KernelDispatchCall.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/DDK/KernelDispatchCall.S b/DDK/KernelDispatchCall.S
index 64b6663e..68423ab5 100644
--- a/DDK/KernelDispatchCall.S
+++ b/DDK/KernelDispatchCall.S
@@ -1,17 +1,17 @@
.globl __kernelDispatchCall
-.section .text
+.text
/* Really simple function, takes our va-list,
and brings it to the trap handler in the kernel. */
-#ifdef __x86_64__
+#ifdef __DDK_AMD64__
__kernelDispatchCall:
int $0x33
ret
-#elif defined(__powerpc64__)
+#elif defined(__DDK_POWER64__)
__kernelDispatchCall:
/* There is no specific interrupt request id for a system call in POWER. */