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;
23 int ID; // Controller ID
39 int Idx; // Hardware index
41 volatile struct s_port *MMIO;
44 Uint32 IssuedCommands;
45 volatile struct sAHCI_CmdHdr *CmdList;
46 struct sAHCI_CmdTable *CommandTables[32];
47 tThread *CommandThreads[32];
48 volatile struct sAHCI_RcvdFIS *RcvdFIS;
50 tSemaphore InterruptSem;