diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-10 22:04:49 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-10 22:04:49 +0000 |
commit | 4b3d663f7b2f0db316f20c0ee86c7270c1338852 (patch) | |
tree | 776c143d4c798214a356c53b7aa7720fee449f10 /OvmfPkg/Csm/Csm16 | |
parent | 8016da21b56d5ab1da855037cd0f0e034e2404bf (diff) | |
download | edk2-platforms-4b3d663f7b2f0db316f20c0ee86c7270c1338852.tar.xz |
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
Diffstat (limited to 'OvmfPkg/Csm/Csm16')
-rw-r--r-- | OvmfPkg/Csm/Csm16/Csm16.inf | 23 | ||||
-rw-r--r-- | OvmfPkg/Csm/Csm16/ReadMe.txt | 12 |
2 files changed, 35 insertions, 0 deletions
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.<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|*
\ 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
+
|