diff options
-rw-r--r-- | host/arch/x86/lib/crossystem_arch.c | 2 | ||||
-rw-r--r-- | host/include/crossystem_arch.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index 2d4a79bb..74411044 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -386,6 +386,8 @@ static const char* VbReadMainFwType(char* dest, int size) { /* Try reading type from BINF.3 */ switch(ReadFileInt(ACPI_BINF_PATH ".3")) { + case BINF3_NETBOOT: + return StrCopy(dest, "netboot", size); case BINF3_RECOVERY: return StrCopy(dest, "recovery", size); case BINF3_NORMAL: diff --git a/host/include/crossystem_arch.h b/host/include/crossystem_arch.h index fbef9b19..be6b5439 100644 --- a/host/include/crossystem_arch.h +++ b/host/include/crossystem_arch.h @@ -18,6 +18,7 @@ #define BINF3_RECOVERY 0 #define BINF3_NORMAL 1 #define BINF3_DEVELOPER 2 +#define BINF3_NETBOOT 3 /* INTERNAL APIS FOR CROSSYSTEM AVAILABLE TO ARCH-SPECIFIC FUNCTIONS */ |