Port code related to coreboot BIOS from MTRR

Only used if MACHINE_COREBOOT is set in machine flags, so this is a pretty safe one
This commit is contained in:
Jasmine Iwanek
2022-11-05 21:43:09 -04:00
parent 4901e89e51
commit 5def97d138
2 changed files with 15 additions and 5 deletions

View File

@@ -107,6 +107,7 @@
#define MACHINE_SCSI_SEC 0x02000000 /* sys has int sec SCSI */
#define MACHINE_USB_PRI 0x04000000 /* sys has int pri USB */
#define MACHINE_USB_SEC 0x08000000 /* sys has int sec USB */
#define MACHINE_COREBOOT 0x10000000 /* sys has coreboot BIOS */
/* Combined flags. */
#define MACHINE_IDE (MACHINE_IDE_PRI) /* sys has int single IDE/ATAPI - mark as pri IDE/ATAPI */
#define MACHINE_IDE_DUAL (MACHINE_IDE_PRI | MACHINE_IDE_SEC) /* sys has int dual IDE/ATAPI - mark as both pri and sec IDE/ATAPI */