From 09dd11ddf800898c00ecb04a65fb5cd10fb481fa Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 8 May 2024 12:32:41 +0200 Subject: MHR-23: :boom: changes, reworked project tree. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/BootKit/Device.hxx | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Private/NewBoot/BootKit/Device.hxx (limited to 'Private/NewBoot/BootKit/Device.hxx') diff --git a/Private/NewBoot/BootKit/Device.hxx b/Private/NewBoot/BootKit/Device.hxx deleted file mode 100644 index 37c617b5..00000000 --- a/Private/NewBoot/BootKit/Device.hxx +++ /dev/null @@ -1,36 +0,0 @@ -/* ------------------------------------------- - - Copyright Mahrouss Logic - -------------------------------------------- */ - -#pragma once - -#include - -using namespace NewOS; - -/// @brief Device type. -class Device -{ -public: - 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; -- cgit v1.2.3