From 3a8ce9524133f3cf8748d81e17556dff84b98b48 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Fri, 15 Nov 2024 07:56:58 +0100 Subject: Update DeviceMgr.h 15/11/24: Add ZKA_DEVICE macro, to inherit from device object. --- dev/ZKAKit/KernelKit/DeviceMgr.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dev') diff --git a/dev/ZKAKit/KernelKit/DeviceMgr.h b/dev/ZKAKit/KernelKit/DeviceMgr.h index a20a5965..7bee9119 100644 --- a/dev/ZKAKit/KernelKit/DeviceMgr.h +++ b/dev/ZKAKit/KernelKit/DeviceMgr.h @@ -9,13 +9,14 @@ Revision History: 31/01/24: Add kDeviceCnt (amlel) + 15/11/24: Add ZKA_DEVICE macro, to inherit from device object. ------------------------------------------- */ #pragma once /* Device manager. */ -/* @file KernelKit/DeviceMgr.hpp */ +/* @file KernelKit/DeviceMgr.h */ /* @brief Device abstraction and I/O buffer. */ #include @@ -23,8 +24,9 @@ #define kDeviceRootDirPath "/Mount/" -// Last Rev -// Wed, Apr 3, 2024 9:09:41 AM +#define ZKA_DEVICE(T) : public ::Kernel::DeviceInterface + +// Last Rev: Wed, Apr 3, 2024 9:09:41 AM namespace Kernel { @@ -81,7 +83,7 @@ namespace Kernel /// /// @brief Input Output Buffer - /// Used mainly to communicate between hardware. + /// Used mainly to communicate between OS to hardware. /// template class IOBuf final -- cgit v1.2.3