1#
2#  Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
3#  Copyright (c) 2014, Pluribus Networks, Inc.
4#
5#  This program and the accompanying materials
6#  are licensed and made available under the terms and conditions of the BSD License
7#  which accompanies this distribution. The full text of the license may be found at
8#  http://opensource.org/licenses/bsd-license.php
9#
10#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13##
14
15[Defines]
16  DEC_SPECIFICATION              = 0x00010005
17  PACKAGE_NAME                   = BhyvePkg
18  PACKAGE_GUID                   = a68f96c3-6040-11e4-83ce-4437e6b8ac70
19  PACKAGE_VERSION                = 0.1
20
21[Includes]
22  Include
23
24[LibraryClasses]
25  ##  @libraryclass  Save and restore variables using a file
26  #
27  NvVarsFileLib|Include/Library/NvVarsFileLib.h
28
29  ##  @libraryclass  Serialize (and deserialize) variables
30  #
31  SerializeVariablesLib|Include/Library/SerializeVariablesLib.h
32
33  ##  @libraryclass  Access bhyve's firmware control interface
34  #
35  BhyveFwCtlLib|Include/Library/BhyveFwCtlLib.h
36
37[Guids]
38  gUefiBhyvePkgTokenSpaceGuid      = {0x93bb96af, 0xb9f2, 0x4eb8, {0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}}
39
40[PcdsFixedAtBuild]
41  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveMemFvBase|0x0|UINT32|0
42  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveMemFvSize|0x0|UINT32|1
43
44  ## This flag is used to control the destination port for PlatformDebugLibIoPort
45  #gUefiBhyvePkgTokenSpaceGuid.PcdDebugIoPort|0x220|UINT16|4
46  gUefiBhyvePkgTokenSpaceGuid.PcdDebugIoPort|0x2F8|UINT16|4
47
48  ## This flag determines the Power Management Base Address of choice, written
49  #  to PIIX4 function 3 offset 0x40-0x43 bits [15:6].
50  gUefiBhyvePkgTokenSpaceGuid.PcdAcpiPmBaseAddress|0xB000|UINT16|5
51
52[PcdsFixedAtBuild]
53  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashNvStorageEventLogBase|0x0|UINT32|0x8
54  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashNvStorageEventLogSize|0x0|UINT32|0x9
55  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFirmwareFdSize|0x0|UINT32|0xa
56  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFirmwareBlockSize|0|UINT32|0xb
57  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashNvStorageVariableBase|0x0|UINT32|0xc
58  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashNvStorageFtwSpareBase|0x0|UINT32|0xd
59  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashNvStorageFtwWorkingBase|0x0|UINT32|0xe
60  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFdBaseAddress|0x0|UINT32|0xf
61
62[PcdsDynamic, PcdsDynamicEx]
63  gUefiBhyvePkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2
64  gUefiBhyvePkgTokenSpaceGuid.PcdBhyveFlashVariablesEnable|FALSE|BOOLEAN|0x10
65
66[PcdsFeatureFlag]
67  gUefiBhyvePkgTokenSpaceGuid.PcdSecureBootEnable|FALSE|BOOLEAN|3
68