From 0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 16 Feb 2025 19:26:51 +0100 Subject: ADD: Many tweaks to the OS. Signed-off-by: Amlal --- dev/Mod/AHCI/AHCI.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/Mod') diff --git a/dev/Mod/AHCI/AHCI.h b/dev/Mod/AHCI/AHCI.h index cccef303..d895811c 100644 --- a/dev/Mod/AHCI/AHCI.h +++ b/dev/Mod/AHCI/AHCI.h @@ -267,7 +267,7 @@ typedef struct HbaMem final Kernel::UInt8 Resv0[0xA0 - 0x2C]; Kernel::UInt8 Vendor[0x100 - 0xA0]; - HbaPort Ports[1]; // 1 ~ 32, 32 is the max ahci devices per controller. + HbaPort Ports[32]; // 1 ~ 32, 32 is the max ahci devices per controller. } HbaMem; typedef struct HbaCmdHeader final @@ -318,7 +318,7 @@ typedef struct HbaPrdtEntry final // DW3 Kernel::UInt32 Dbc : 22; // Byte count, 4M max Kernel::UInt32 Reserved1 : 9; // Reserved - Kernel::UInt32 IE : 1; // Interrupt on completion + Kernel::UInt32 Ie : 1; // Interrupt on completion } HbaPrdtEntry; typedef struct HbaCmdTbl final -- cgit v1.2.3