summaryrefslogtreecommitdiffhomepage
path: root/dev/DDK/KernelDev.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/DDK/KernelDev.h')
-rw-r--r--dev/DDK/KernelDev.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/DDK/KernelDev.h b/dev/DDK/KernelDev.h
index e051c7a3..17876688 100644
--- a/dev/DDK/KernelDev.h
+++ b/dev/DDK/KernelDev.h
@@ -15,12 +15,12 @@ struct _KERNEL_DEVICE;
/// @brief Kernel Device driver.
typedef struct _KERNEL_DEVICE DK_FINAL
{
- char name[255]; // the device name. Could be /./DEVICE_NAME/
- void* (*read)(void* arg, int len); // read from device.
- void (*write)(void* arg, int len);
- void (*wait)(void); // write to device.
- struct _KERNEL_DEVICE* (*open)(const char* path); // open device.
- void (*close)(struct _KERNEL_DEVICE* dev); // close device.
+ char d_name[255]; // the device name. Could be /./DEVICE_NAME/
+ void* (*d_read)(void* arg, int len); // read from device.
+ void (*d_write)(void* arg, int len);
+ void (*d_wait)(void); // write to device.
+ struct _KERNEL_DEVICE* (*d_open)(const char* path); // open device.
+ void (*d_close)(struct _KERNEL_DEVICE* dev); // close device.
} KERNEL_DEVICE, *KERNEL_DEVICE_PTR;
/// @brief Open a new device from path.