summaryrefslogtreecommitdiffhomepage
path: root/dev/libDDK/src/ddk_dev.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 03:02:43 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 03:02:43 +0100
commit83d870e58457a1d335a1d9b9966a6a1887cc297b (patch)
tree72888f88c7728c82f3f6df1f4f70591de15eab36 /dev/libDDK/src/ddk_dev.c
parentab37adbacf0f33845804c788b39680cd754752a8 (diff)
feat! breaking changes on kernel sources.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libDDK/src/ddk_dev.c')
-rw-r--r--dev/libDDK/src/ddk_dev.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev/libDDK/src/ddk_dev.c b/dev/libDDK/src/ddk_dev.c
deleted file mode 100644
index 64ecefb6..00000000
--- a/dev/libDDK/src/ddk_dev.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* ========================================
-
- Copyright Amlal El Mahrouss.
-
- Purpose: DDK Text I/O.
-
-======================================== */
-
-#include <DriverKit/dev.h>
-#include <DriverKit/str.h>
-
-/// @brief Open a new binary device from path.
-DDK_EXTERN DDK_DEVICE_PTR kopen_dev(const char* devicePath) {
- if (nil == devicePath) return nil;
-
- return (DDK_DEVICE_PTR) ke_call_dispatch("dk_open_dev", 1, (void*) devicePath,
- kstrlen(devicePath));
-}
-
-/// @brief Close any device.
-/// @param device valid device.
-DDK_EXTERN BOOL kclose_dev(DDK_DEVICE_PTR device) {
- if (nil == device) return NO;
-
- ke_call_dispatch("dk_close_dev", 1, device, sizeof(DDK_DEVICE));
- return YES;
-}