21fa67a6aa9789e1a9d9642cf251c37b400f9af7
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. 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
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.
14 Module Name: PcdTest.c
18 {0xF9349C58, 0xB767, 0x42c8, 0xB3, 0x6B, 0x41, 0x25, 0xDE, 0x3A, 0xEF, 0xEB}
20 CONST GUID Guid1
= GUID1
;
26 IN UINT32 CallBackToken
,
28 IN UINTN TokenDataSize
31 DebugPrint (0x80000000, "In CallbackOnSet %x %d\n", * ((UINT32
*)TokenData
), TokenDataSize
);
47 PcdSet32(PcdTestDynamicUint32
, u32
);
49 u64
= 0xafafafaf00000000;
50 PcdSet64(PcdTestDynamicUint64
, u64
);
52 u8
= PcdGet8(PcdTestDynamicUint8
);
53 u16
= PcdGet16(PcdTestDynamicUint16
);
57 ASSERT (u16
== 0x1234);
58 ASSERT (u64
== PcdGet64(PcdTestDynamicUint64
));
59 ASSERT (u32
== PcdGet32(PcdTestDynamicUint32
));
67 IN EFI_FFS_FILE_HEADER
*FfsHeader
,
68 IN EFI_PEI_SERVICES
**PeiServices