Give coreboot machines their own flag

This commit is contained in:
RichardG867
2020-04-18 14:36:00 -03:00
parent d913c7f768
commit be21301fdf
3 changed files with 6 additions and 4 deletions

View File

@@ -39,6 +39,7 @@
#define MACHINE_VIDEO_FIXED 0x004000 /* sys has ONLY int video */
#define MACHINE_MOUSE 0x008000 /* sys has int mouse */
#define MACHINE_NONMI 0x010000 /* sys does not have NMI's */
#define MACHINE_COREBOOT 0x020000 /* sys has coreboot BIOS */
#else
#define MACHINE_PC 0x000000 /* PC architecture */
#define MACHINE_AT 0x000001 /* PC/AT architecture */
@@ -55,6 +56,7 @@
#define MACHINE_VIDEO_FIXED 0x004000 /* sys has ONLY int video */
#define MACHINE_MOUSE 0x008000 /* sys has int mouse */
#define MACHINE_NONMI 0x010000 /* sys does not have NMI's */
#define MACHINE_COREBOOT 0x020000 /* sys has coreboot BIOS */
#endif
#define IS_ARCH(m, a) (machines[(m)].flags & (a)) ? 1 : 0;