VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkg.fdf.inc@ 75265

Last change on this file since 75265 was 58466, checked in by vboxsync, 9 years ago

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1## @file
2# FDF include file that defines the main macros and sets the dependent PCDs.
3#
4# Copyright (C) 2014, Red Hat, Inc.
5# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
6#
7# This program and the accompanying materials are licensed and made available
8# under the terms and conditions of the BSD License which accompanies this
9# distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11#
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
14# IMPLIED.
15#
16##
17
18DEFINE BLOCK_SIZE = 0x1000
19DEFINE VARS_SIZE = 0x20000
20DEFINE VARS_BLOCKS = 0x20
21
22!ifdef $(FD_SIZE_1MB)
23
24DEFINE FW_BASE_ADDRESS = 0xFFF00000
25DEFINE FW_SIZE = 0x00100000
26DEFINE FW_BLOCKS = 0x100
27DEFINE CODE_BASE_ADDRESS = 0xFFF20000
28DEFINE CODE_SIZE = 0x000E0000
29DEFINE CODE_BLOCKS = 0xE0
30DEFINE FVMAIN_SIZE = 0x000CC000
31DEFINE SECFV_OFFSET = 0x000EC000
32DEFINE SECFV_SIZE = 0x14000
33
34!else
35
36DEFINE FW_BASE_ADDRESS = 0xFFE00000
37DEFINE FW_SIZE = 0x00200000
38DEFINE FW_BLOCKS = 0x200
39DEFINE CODE_BASE_ADDRESS = 0xFFE20000
40DEFINE CODE_SIZE = 0x001E0000
41DEFINE CODE_BLOCKS = 0x1E0
42DEFINE FVMAIN_SIZE = 0x001AC000
43DEFINE SECFV_OFFSET = 0x001CC000
44DEFINE SECFV_SIZE = 0x34000
45
46!endif
47
48SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress = $(FW_BASE_ADDRESS)
49SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize = $(FW_SIZE)
50SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize = $(BLOCK_SIZE)
51
52SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase = $(FW_BASE_ADDRESS)
53SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize = 0xE000
54
55SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase = gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase + gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
56SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize = $(BLOCK_SIZE)
57
58SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase = gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
59SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = $(BLOCK_SIZE)
60
61SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase = gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase + gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
62SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize = 0x10000
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette