From 4eb813ba7247d9e2bebf255ecc50f68c0a71bb72 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 20 Aug 2024 02:53:51 +0200 Subject: + IMP: Using Hybrid MP services on ZKA_EFI firmware. + Implement HPET on HardwareTimer and added a SoftwareTimer. + Implemented Hybrid MP Services on EFI.hxx. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Modules/ACPI/ACPI.hxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'dev/ZKA/Modules/ACPI') diff --git a/dev/ZKA/Modules/ACPI/ACPI.hxx b/dev/ZKA/Modules/ACPI/ACPI.hxx index 7ea34bd0..44e9fa1b 100644 --- a/dev/ZKA/Modules/ACPI/ACPI.hxx +++ b/dev/ZKA/Modules/ACPI/ACPI.hxx @@ -48,28 +48,28 @@ namespace Kernel UInt32 Reserved; }; - enum class AddressSpace : UInt8 + enum class ACPI_ADDRESS_SPACE_KIND : UInt8 { - SystemMemory = 0, - SystemIO = 1, - Pci = 2, - Controller = 3, - SmBus = 4, - Count = 5, - Invalid = 0xFF, + eSystemMemory = 0, + eSystemIO = 1, + ePci = 2, + eController = 3, + eSmBus = 4, + eCount = 5, + eInvalid = 0xFF, }; - class PACKED Address + class PACKED ACPI_ADDRESS final { public: - AddressSpace AddressSpaceId; + ACPI_ADDRESS_SPACE_KIND AddressSpaceId; UInt8 RegisterBitWidth; UInt8 RegisterBitOffset; UInt8 Reserved; UIntPtr Address; }; - class PACKED RSDT + class PACKED RSDT final { public: Char Signature[4]; -- cgit v1.2.3