🆕 读取SATA磁盘

This commit is contained in:
fslongjin
2022-03-31 00:17:55 +08:00
parent 1d440adc02
commit 8294e0d12b
4 changed files with 342 additions and 16 deletions

View File

@ -42,6 +42,8 @@
#define ACPI_XSDT_MAPPING_OFFSET 0x9000000UL
#define IO_APIC_MAPPING_OFFSET 0xfec00000UL
#define LOCAL_APIC_MAPPING_OFFSET 0xfee00000UL
#define AHCI_MAPPING_OFFSET 0xff200000UL // AHCI 映射偏移量,之后使用了4M的地址
// ===== 内存区域属性 =====
// DMA区域
#define ZONE_DMA (1 << 0)