+#define AHCI_PxTFD_ERR (255 << 8)
+#define AHCI_PxTFD_STS (255 << 0) // Status (latest copy of task file status register)
+#define AHCI_PxTFD_STS_BSY (1 << 7) // Interface is busy
+#define AHCI_PxTFD_STS_DRQ (1 << 3) // Data transfer requested
+#define AHCI_PxTFD_STS_ERR (1 << 0) // Error during transfer
+
+#define AHCI_PxSSTS_IPM (15 << 8) // Interface Power Management (0=NP,1=Active,2=Partial,6=Slumber)
+#define AHCI_PxSSTS_IPM_ofs 8
+#define AHCI_PxSSTS_SPD (15 << 4) // Current Interface Speed (0=NP,Generation n)
+#define AHCI_PxSSTS_SPD_ofs 4
+#define AHCI_PxSSTS_DET (15 << 0) // Device Detection (0: None, 1: Present but no PHY yet, 3: Present and PHY, 4: offline)
+#define AHCI_PxSSTS_DET_ofs 0
+
+typedef volatile struct sAHCI_MemSpace tAHCI_MemSpace;
+