summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/AMD64/PCI
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 12:10:05 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 12:10:05 +0100
commit44a080365293be62538b056dcd135ca673ebc5db (patch)
treeb10a9c93d52a7302bc5067f4b9c5388c8fbe2a2d /dev/Kernel/HALKit/AMD64/PCI
parentaf68a93fe0b049e19fd260423873b72b70ac75cf (diff)
ADD: Disk Driver has been reverted, working on that version now.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/AMD64/PCI')
-rw-r--r--dev/Kernel/HALKit/AMD64/PCI/Device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/Kernel/HALKit/AMD64/PCI/Device.cc b/dev/Kernel/HALKit/AMD64/PCI/Device.cc
index 7b0f64b3..d02c7e22 100644
--- a/dev/Kernel/HALKit/AMD64/PCI/Device.cc
+++ b/dev/Kernel/HALKit/AMD64/PCI/Device.cc
@@ -106,7 +106,7 @@ namespace Kernel::PCI
void Device::EnableMmio(UInt32 bar_in)
{
- bool enable = Read(bar_in, sizeof(UChar)) | (1 << 1);
+ bool enable = Read(bar_in, sizeof(UShort)) | (1 << 1);
Write(bar_in, enable, sizeof(UShort));
}