summaryrefslogtreecommitdiffhomepage
path: root/dev/ddk/src/ddk_dev.c
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-08-13 23:56:41 +0200
committerAmlal <amlal@nekernel.org>2025-08-13 23:56:41 +0200
commitbb432453ab609ca7e8dc8e991775329d10a29e7b (patch)
treecea449ab68c412e6bd33ef4aedf8c912b55b3ade /dev/ddk/src/ddk_dev.c
parentd720fa31aaf728b63c95575843f42a575c63765f (diff)
feat! Breaking changes in the DDK.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/ddk/src/ddk_dev.c')
-rw-r--r--dev/ddk/src/ddk_dev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ddk/src/ddk_dev.c b/dev/ddk/src/ddk_dev.c
index 4cd7dcdd..32ec2442 100644
--- a/dev/ddk/src/ddk_dev.c
+++ b/dev/ddk/src/ddk_dev.c
@@ -6,14 +6,14 @@
------------------------------------------- */
-#include <DDKKit/dev.h>
-#include <DDKKit/str.h>
+#include <DriverKit/dev.h>
+#include <DriverKit/str.h>
/// @brief Open a new binary device from path.
DDK_EXTERN DDK_DEVICE_PTR open(const char* devicePath) {
if (!devicePath) return nil;
- return ke_call("dk_open_dev", 1, (void*) devicePath, kstrlen(devicePath));
+ return ke_call_dispatch("dk_open_dev", 1, (void*) devicePath, kstrlen(devicePath));
}
/// @brief Close any device.
@@ -21,6 +21,6 @@ DDK_EXTERN DDK_DEVICE_PTR open(const char* devicePath) {
DDK_EXTERN BOOL close(DDK_DEVICE_PTR device) {
if (!device) return NO;
- ke_call("dk_close_dev", 1, device, sizeof(DDK_DEVICE));
+ ke_call_dispatch("dk_close_dev", 1, device, sizeof(DDK_DEVICE));
return YES;
}