blob: ee294650bfc430cb7a008085a6116a214fc746ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/** @file
Policy definition for Internal Graphics Config Block (PostMem)
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _GRAPHICS_PEI_CONFIG_H_
#define _GRAPHICS_PEI_CONFIG_H_
#pragma pack(push, 1)
#define GRAPHICS_PEI_CONFIG_REVISION 1
/**
This configuration block is to configure IGD related variables used in PostMem PEI.
If Intel Gfx Device is not supported, all policies can be ignored.
<b>Revision 1</b>:
- Initial version.
**/
typedef struct {
CONFIG_BLOCK_HEADER Header; ///< Offset 0-27 Config Block Header
UINT32 PeiGraphicsPeimInit: 1; ///< Offset 28:6 :This policy is used to enable/disable Intel Gfx PEIM.<b>0- Disable</b>, 1- Enable
UINT32 RsvdBits0 : 31; ///< Offser 28:16 :Reserved for future use
VOID* LogoPtr; ///< Offset 32 Address of Logo to be displayed in PEI
UINT32 LogoSize; ///< Offset 36 Logo Size
VOID* GraphicsConfigPtr; ///< Offset 40 Address of the Graphics Configuration Table
} GRAPHICS_PEI_CONFIG;
#pragma pack(pop)
#endif // _GRAPHICS_PEI_CONFIG_H_
|