summaryrefslogtreecommitdiffhomepage
path: root/dev/modules
diff options
context:
space:
mode:
Diffstat (limited to 'dev/modules')
-rw-r--r--dev/modules/AHCI/AHCI.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/modules/AHCI/AHCI.hxx b/dev/modules/AHCI/AHCI.hxx
index 084322bb..a48a8c38 100644
--- a/dev/modules/AHCI/AHCI.hxx
+++ b/dev/modules/AHCI/AHCI.hxx
@@ -261,10 +261,10 @@ typedef struct HbaMem final
Kernel::UInt32 Cap2; // 0x24, Host capabilities extended
Kernel::UInt32 Bohc; // 0x28, BIOS/OS handoff control and status
- Kernel::UInt16 Resv0;
- Kernel::UInt32 Resv2;
+ 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