X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FAHCI%2Fahci_hw.h;h=d74f822461390c137780e1131df16cc13327a1ab;hb=8524f8d12470679940f88a9fc50770f132acd658;hp=0610ad1e0d583d4d9bf75ef42f6a094418169794;hpb=476abc0092cfb3ca93e8981f9554b5c7d2b53fe0;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/AHCI/ahci_hw.h b/KernelLand/Modules/Storage/AHCI/ahci_hw.h index 0610ad1e..d74f8224 100644 --- a/KernelLand/Modules/Storage/AHCI/ahci_hw.h +++ b/KernelLand/Modules/Storage/AHCI/ahci_hw.h @@ -137,7 +137,13 @@ struct sAHCI_CmdHdr Uint32 PRDBC; Uint32 CTBA; // 128-byte alignment Uint32 CTBAU; - Uint32 resdv[4]; + union { + struct { + struct sThread *Thread; + struct sAHCI_CmdTable *TablePtr; + } PACKED Ptrs; + Uint32 resdv[4]; + } Resvd; } PACKED; struct sAHCI_CmdEnt @@ -148,5 +154,13 @@ struct sAHCI_CmdEnt Uint32 DBC; // Data byte count (31: IOC, 21:0 count) 0=1, 1=2, ... } PACKED; +struct sAHCI_CmdTable +{ + Uint32 CFIS[64/4]; + Uint32 ACMD[16/4]; + Uint32 _resvd[0x30/4]; + struct sAHCI_CmdEnt PRDT[0x80/16]; +} PACKED; + #endif