mirror of https://github.com/acidanthera/audk.git
Enable BootTimeOut and ConsoleMode (80x25/100x30) setting save/restore in Duet Setup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10039 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
25973fc3ea
commit
230319040a
|
@ -3,7 +3,7 @@
|
|||
# This Package provides all definitions(including functions, MACROs, structures and library classes)
|
||||
# and libraries instances, which are only used by Duet platform.
|
||||
#
|
||||
# Copyright (c) 2007 - 2008, Intel Corporation.
|
||||
# Copyright (c) 2007 - 2010, Intel Corporation.
|
||||
#
|
||||
# All rights reserved.
|
||||
# This program and the accompanying materials are licensed and made available under
|
||||
|
@ -31,4 +31,7 @@
|
|||
gEfiFlashMapHobGuid = { 0xb091e7d2, 0x5a0, 0x4198, {0x94, 0xf0, 0x74, 0xb7, 0xb8, 0xc5, 0x54, 0x59 }}
|
||||
|
||||
## Include/Guid/PciOptionRomTable.h
|
||||
gEfiPciOptionRomTableGuid = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}
|
||||
gEfiPciOptionRomTableGuid = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}
|
||||
|
||||
## Include/Guid/ConsoleOutConfig.h
|
||||
gDuetConsoleOutConfigGuid = { 0xED150714, 0xDF30, 0x407D, { 0xB2, 0x4A, 0x4B, 0x74, 0x2F, 0xD5, 0xCE, 0xA2 }}
|
||||
|
|
|
@ -87,6 +87,11 @@
|
|||
[PcdsFeatureFlag.common]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
||||
|
||||
[PcdsDynamicHii.common.DEFAULT]
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout"
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x0|80
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x4|25
|
||||
|
||||
###################################################################################################
|
||||
#
|
||||
# Components Section - list of the modules and components that will be processed by compilation
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
/**@file
|
||||
Setup Variable data structure for Duet platform.
|
||||
|
||||
Copyright (c) 2010 Intel Corporation. All rights reserved
|
||||
This software and associated documentation (if any) is furnished
|
||||
under a license and may only be used or copied in accordance
|
||||
with the terms of the license. Except as permitted by such
|
||||
license, no part of this software or documentation may be
|
||||
reproduced, stored in a retrieval system, or transmitted in any
|
||||
form or by any means without the express written consent of
|
||||
Intel Corporation.
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __DUET_CONSOLEOUT_CONFIG_H__
|
||||
#define __DUET_CONSOLEOUT_CONFIG_H__
|
||||
|
||||
#define DUET_CONSOLEOUT_CONFIG_GUID \
|
||||
{ 0xED150714, 0xDF30, 0x407D, { 0xB2, 0x4A, 0x4B, 0x74, 0x2F, 0xD5, 0xCE, 0xA2 } }
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
//
|
||||
// Console output mode
|
||||
//
|
||||
UINT32 ConOutColumn;
|
||||
UINT32 ConOutRow;
|
||||
} DUET_CONSOLEOUT_CONFIG;
|
||||
#pragma pack()
|
||||
|
||||
extern EFI_GUID gDuetConsoleOutConfigGuid;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue