diff options
Diffstat (limited to 'dev/Boot/BootKit/Device.hxx')
| -rw-r--r-- | dev/Boot/BootKit/Device.hxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev/Boot/BootKit/Device.hxx b/dev/Boot/BootKit/Device.hxx deleted file mode 100644 index 21955b79..00000000 --- a/dev/Boot/BootKit/Device.hxx +++ /dev/null @@ -1,36 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#pragma once - -#include <Modules/ATA/ATA.hxx> - -using namespace Kernel; - -/// @brief Device type. -class Device -{ -public: - explicit Device() = default; - virtual ~Device() = default; - - NEWOS_MOVE_DEFAULT(Device); - - struct Trait - { - SizeT mBase{1024}; - SizeT mSize{1024}; - }; - - virtual Trait& Leak() = 0; - - virtual Device& Read(Char* Buf, const SizeT& SecCount) = 0; - virtual Device& Write(Char* Buf, const SizeT& SecCount) = 0; -}; - -typedef Device BootDevice; -typedef Device NetworkDevice; -typedef Device DiskDevice; |
