aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h')
-rw-r--r--roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h b/roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h
new file mode 100644
index 000000000..a1d3f41e4
--- /dev/null
+++ b/roms/edk2/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.h
@@ -0,0 +1,25 @@
+/** @file
+*
+* Copyright (c) 2017, Linaro Limited. All rights reserved.
+*
+* SPDX-License-Identifier: BSD-2-Clause-Patent
+*
+**/
+
+#ifndef __CONSOLE_PREF_DXE_H__
+#define __CONSOLE_PREF_DXE_H__
+
+#include <Guid/HiiPlatformSetupFormset.h>
+#include <Guid/ConsolePrefFormSet.h>
+
+#define CONSOLE_PREF_GRAPHICAL 0x0
+#define CONSOLE_PREF_SERIAL 0x1
+
+#define CONSOLE_PREF_VARIABLE_NAME L"ConsolePref"
+
+typedef struct {
+ UINT8 Console;
+ UINT8 Reserved[3];
+} CONSOLE_PREF_VARSTORE_DATA;
+
+#endif