1## @file
2#
3# A hook-in library for MdeModulePkg/Universal/SmbiosDxe, in order to set
4# gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion (and possibly other PCDs)
5# just before SmbiosDxe consumes them.
6#
7# Copyright (C) 2013, 2015, Red Hat, Inc.
8# Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
9#
10# This program and the accompanying materials are licensed and made available
11# under the terms and conditions of the BSD License which accompanies this
12# distribution. The full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
14#
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
16# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = DetectSmbiosVersionLib
23  FILE_GUID                      = 6c633bb2-ae33-49ae-9f89-b5aa999fe3ae
24  MODULE_TYPE                    = BASE
25  VERSION_STRING                 = 1.0
26  LIBRARY_CLASS                  = SmbiosVersionLib|DXE_DRIVER
27  CONSTRUCTOR                    = DetectSmbiosVersion
28
29#
30# The following information is for reference only and not required by the build
31# tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64
34#
35
36[Sources]
37  DetectSmbiosVersionLib.c
38
39[Packages]
40  MdePkg/MdePkg.dec
41  MdeModulePkg/MdeModulePkg.dec
42  OvmfPkg/OvmfPkg.dec
43
44[LibraryClasses]
45  BaseMemoryLib
46  DebugLib
47  PcdLib
48  QemuFwCfgLib
49
50[Pcd]
51  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion
52  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev
53  gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated
54