]> git.proxmox.com Git - mirror_edk2.git/blob - EdkNt32Pkg/Pei/PcdEmulator/PcdEmulator.h
Initial import.
[mirror_edk2.git] / EdkNt32Pkg / Pei / PcdEmulator / PcdEmulator.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13 PcdEmulator.h
14
15 Abstract:
16 Platform Configuration Database (PCD)
17
18 --*/
19
20 #ifndef __PCD_EMULATOR_H__
21 #define __PCD_EMULATOR_H__
22
23
24
25 //
26 // BugBug: Not very sure, where to put this "extern"
27 //
28 extern GUID gPcdHobGuid;
29
30 //
31 // BugBug: Hack max number of callbacks per token
32 //
33 #define MAX_PCD_CALLBACK 0x10
34
35 extern EMULATED_PCD_ENTRY gEmulatedPcdEntry[];
36
37 UINTN
38 GetPcdDataBaseSize (
39 VOID
40 );
41
42 EMULATED_PCD_ENTRY_EX *
43 GetPcdEntry (
44 IN UINTN TokenNumber
45 );
46
47 EFI_STATUS
48 InstallMyHob (
49 IN EFI_PEI_SERVICES **PeiServices,
50 IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,
51 IN VOID *Ppi
52 );
53 #endif