]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Enable BootTimeOut and ConsoleMode (80x25/100x30) setting save/restore in Duet Setup.
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Feb 2010 06:03:08 +0000 (06:03 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Feb 2010 06:03:08 +0000 (06:03 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10039 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/DuetPkg.dec
DuetPkg/DuetPkg.dsc
DuetPkg/Include/Guid/ConsoleOutConfig.h [new file with mode: 0644]

index 40e72b04742c0dfe998972b9227fcb956429b108..3339ae3bc868529626a56b454bdb1bbe3fdd17dc 100644 (file)
@@ -3,7 +3,7 @@
 # This Package provides all definitions(including functions, MACROs, structures and library classes)\r
 # and libraries instances, which are only used by Duet platform.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+# Copyright (c) 2007 - 2010, Intel Corporation.\r
 #\r
 # All rights reserved.\r
 # This program and the accompanying materials are licensed and made available under\r
@@ -31,4 +31,7 @@
   gEfiFlashMapHobGuid           = { 0xb091e7d2, 0x5a0, 0x4198, {0x94, 0xf0, 0x74, 0xb7, 0xb8, 0xc5, 0x54, 0x59 }}\r
   \r
   ## Include/Guid/PciOptionRomTable.h\r
-  gEfiPciOptionRomTableGuid       = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}\r
+  gEfiPciOptionRomTableGuid     = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}\r
+\r
+  ## Include/Guid/ConsoleOutConfig.h\r
+  gDuetConsoleOutConfigGuid     = { 0xED150714, 0xDF30, 0x407D, { 0xB2, 0x4A, 0x4B, 0x74, 0x2F, 0xD5, 0xCE, 0xA2 }}\r
index 9707dee323dd54da590e3b16015a28a9dd3f736c..d5e29b8a3a29c034908d1efce59219e0ab813bf3 100644 (file)
 [PcdsFeatureFlag.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
 \r
+[PcdsDynamicHii.common.DEFAULT]\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout"\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x0|80\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x4|25\r
+\r
 ###################################################################################################\r
 #\r
 # Components Section - list of the modules and components that will be processed by compilation\r
diff --git a/DuetPkg/Include/Guid/ConsoleOutConfig.h b/DuetPkg/Include/Guid/ConsoleOutConfig.h
new file mode 100644 (file)
index 0000000..a9e6380
--- /dev/null
@@ -0,0 +1,33 @@
+/**@file\r
+  Setup Variable data structure for Duet platform.\r
+\r
+Copyright (c)  2010 Intel Corporation. All rights reserved\r
+This software and associated documentation (if any) is furnished\r
+under a license and may only be used or copied in accordance\r
+with the terms of the license. Except as permitted by such\r
+license, no part of this software or documentation may be\r
+reproduced, stored in a retrieval system, or transmitted in any\r
+form or by any means without the express written consent of\r
+Intel Corporation.\r
+\r
+**/\r
+\r
+#ifndef __DUET_CONSOLEOUT_CONFIG_H__\r
+#define __DUET_CONSOLEOUT_CONFIG_H__\r
+\r
+#define DUET_CONSOLEOUT_CONFIG_GUID  \\r
+  { 0xED150714, 0xDF30, 0x407D, { 0xB2, 0x4A, 0x4B, 0x74, 0x2F, 0xD5, 0xCE, 0xA2 } }\r
+\r
+#pragma pack(1)\r
+typedef struct {\r
+  //\r
+  // Console output mode\r
+  //\r
+  UINT32        ConOutColumn;\r
+  UINT32        ConOutRow;\r
+} DUET_CONSOLEOUT_CONFIG;\r
+#pragma pack()\r
+\r
+extern EFI_GUID   gDuetConsoleOutConfigGuid;\r
+\r
+#endif\r