summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
commit0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 (patch)
tree9443bee06cd6cf39d57335c66990c537df821b7d /dev/Mod
parent384710f48befc0e68d9fd8e70926b4ab8163119d (diff)
ADD: Many tweaks to the OS.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod')
-rw-r--r--dev/Mod/AHCI/AHCI.h4
1 files changed, 2 insertions, 2 deletions
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