summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/HPET
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Mod/HPET')
-rw-r--r--dev/Mod/HPET/.gitkeep0
-rw-r--r--dev/Mod/HPET/Defines.h42
2 files changed, 0 insertions, 42 deletions
diff --git a/dev/Mod/HPET/.gitkeep b/dev/Mod/HPET/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/dev/Mod/HPET/.gitkeep
+++ /dev/null
diff --git a/dev/Mod/HPET/Defines.h b/dev/Mod/HPET/Defines.h
deleted file mode 100644
index c916703a..00000000
--- a/dev/Mod/HPET/Defines.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -------------------------------------------
-
- Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.
-
- File: HPET.h
- Purpose: HPET builtin.
-
- Revision History:
-
-------------------------------------------- */
-
-#pragma once
-
-#include <NewKit/Defines.h>
-#include <Mod/ACPI/ACPI.h>
-
-namespace NeOS
-{
- struct PACKED HPETAddressStructure final
- {
- NeOS::UInt8 AddressSpaceId; // 0 - system memory, 1 - system I/O
- NeOS::UInt8 RegisterBitWidth;
- NeOS::UInt8 RegisterBitOffset;
- NeOS::UInt8 Reserved;
- NeOS::UInt64 Address;
- };
-
- struct PACKED HPETHeader final : public SDT
- {
- NeOS::UInt8 HardwareRevId;
- NeOS::UInt8 ComparatorCount : 5;
- NeOS::UInt8 CounterSize : 1;
- NeOS::UInt8 Reserved : 1;
- NeOS::UInt8 LegacyReplacement : 1;
- NeOS::UInt16 PciVendorId;
- HPETAddressStructure Address;
- NeOS::UInt8 HpetNumber;
- NeOS::UInt16 MinimumTick;
- NeOS::UInt8 PageProtection;
- };
-
-} // namespace NeOS