2 * Acess2 Kernel - AHCI Driver
3 * - By John Hodge (thePowersGang)
12 #include <Storage/LVM/include/lvm.h>
15 #include <semaphore.h>
18 typedef struct sAHCI_Ctrlr tAHCI_Ctrlr;
19 typedef struct sAHCI_Port tAHCI_Port;
37 int Idx; // Hardware index
39 volatile struct s_port *MMIO;
42 Uint32 IssuedCommands;
43 volatile struct sAHCI_CmdHdr *CmdList;
44 struct sAHCI_CmdTable *CommandTables[32];
45 tThread *CommandThreads[32];
46 volatile struct sAHCI_RcvdFIS *RcvdFIS;
48 tSemaphore InterruptSem;