diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-06 10:53:58 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-06 10:53:58 +0000 |
commit | 189eac2199940cdc1265503ba4854ea947042424 (patch) | |
tree | 4a21f32689c369b4f1dad3da23138e77e91d79f4 /MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h | |
parent | ca784f97373c4cd332b71cb26218e6c3f63aab9c (diff) | |
download | edk2-189eac2199940cdc1265503ba4854ea947042424.zip edk2-189eac2199940cdc1265503ba4854ea947042424.tar.gz edk2-189eac2199940cdc1265503ba4854ea947042424.tar.bz2 |
Sync in patch for EDK 945
Add console mode setting in UI.
User can select console mode (e.g. 80x25, 100x31) in UI; and boot with user-defined mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4797 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h index 9fcbab3..757aed8 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h @@ -20,6 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Guid/PrimaryConsoleOutDevice.h>
#include <Protocol/GraphicsOutput.h>
#include <Guid/PrimaryConsoleInDevice.h>
+#include <Guid/GenericPlatformVariable.h>
#include <Protocol/SimplePointer.h>
#include <Protocol/AbsolutePointer.h>
#include <Protocol/SimpleTextOut.h>
@@ -38,6 +39,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
+#include <Library/UefiRuntimeServicesTableLib.h>
+
//
// Driver Binding Externs
@@ -73,6 +76,13 @@ extern EFI_GUID gSimpleTextInExNotifyGuid; #define CONSOLE_SPLITTER_MODES_ALLOC_UNIT 32
#define MAX_STD_IN_PASSWORD 80
+#define VarConOutMode L"ConOutMode"
+
+typedef struct {
+ UINTN Column;
+ UINTN Row;
+} CONSOLE_OUT_MODE;
+
typedef struct {
UINTN Columns;
UINTN Rows;
|