From 4b3d663f7b2f0db316f20c0ee86c7270c1338852 Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 10 Nov 2011 22:04:49 +0000 Subject: 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 --- OvmfPkg/Csm/Csm16/Csm16.inf | 23 +++++++++++++++++++++++ OvmfPkg/Csm/Csm16/ReadMe.txt | 12 ++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 OvmfPkg/Csm/Csm16/Csm16.inf create mode 100644 OvmfPkg/Csm/Csm16/ReadMe.txt (limited to 'OvmfPkg/Csm') diff --git a/OvmfPkg/Csm/Csm16/Csm16.inf b/OvmfPkg/Csm/Csm16/Csm16.inf new file mode 100644 index 0000000000..61f972b825 --- /dev/null +++ b/OvmfPkg/Csm/Csm16/Csm16.inf @@ -0,0 +1,23 @@ +## @file +# CSM Binary +# +# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+# 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|* \ No newline at end of file diff --git a/OvmfPkg/Csm/Csm16/ReadMe.txt b/OvmfPkg/Csm/Csm16/ReadMe.txt new file mode 100644 index 0000000000..4d5d086bb4 --- /dev/null +++ b/OvmfPkg/Csm/Csm16/ReadMe.txt @@ -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 + -- cgit v1.2.3