OvmfPkg: Add CSM16 and related drivers if CSM_ENABLE is set
Note: The CSM16 binary must be copied into the tree at OvmfPkg/Csm/Csm16/Csm16.bin in order to use CSM_ENABLE. If CSM_ENABLE is set during the build, then the CSM16 binary and the CSM support (Legacy BIOS) drivers will be added to the build. Signed-off-by: jljusten Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12682 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
23
OvmfPkg/Csm/Csm16/Csm16.inf
Normal file
23
OvmfPkg/Csm/Csm16/Csm16.inf
Normal file
@@ -0,0 +1,23 @@
|
||||
## @file
|
||||
# CSM Binary
|
||||
#
|
||||
# Copyright (c) 2006 - 2011, 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
|
||||
# which 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.
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = Csm16
|
||||
FILE_GUID = 1547B4F3-3E8A-4FEF-81C8-328ED647AB1A
|
||||
MODULE_TYPE = USER_DEFINED
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
[Binaries]
|
||||
BIN|Csm16.bin|*
|
12
OvmfPkg/Csm/Csm16/ReadMe.txt
Normal file
12
OvmfPkg/Csm/Csm16/ReadMe.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
This module allows a CSM16 binary to be easily included
|
||||
in the OVMF.fd output file.
|
||||
|
||||
=== How to use Csm16.inf ===
|
||||
|
||||
1. Copy the CSM16 binary to OvmfPkg/Csm/Csm16/Csm16.bin
|
||||
2. Build OVMF with CSM_ENABLE defined.
|
||||
|
||||
For example:
|
||||
* build -D CSM_ENABLE, or
|
||||
* OvmfPkg/build.sh -D CSM_ENABLE
|
||||
|
Reference in New Issue
Block a user