diff options
| author | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-11-15 07:56:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 07:56:58 +0100 |
| commit | 3a8ce9524133f3cf8748d81e17556dff84b98b48 (patch) | |
| tree | d55146cfc77b1d8ce99cc5ea9d613e509bdbadce /dev | |
| parent | 9512a470d96922ed90259657cfd170394a2e37ff (diff) | |
Update DeviceMgr.h
15/11/24: Add ZKA_DEVICE macro, to inherit from device object.
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/ZKAKit/KernelKit/DeviceMgr.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 <NewKit/ErrorOr.h> @@ -23,8 +24,9 @@ #define kDeviceRootDirPath "/Mount/" -// Last Rev -// Wed, Apr 3, 2024 9:09:41 AM +#define ZKA_DEVICE(T) : public ::Kernel::DeviceInterface<T> + +// 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 <typename T> class IOBuf final |
