EmbeddedPkg/MetronomeDxe: Replaced hardcoded Tick Period by PcdMetronomeTickPeriod

Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13495 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2012-07-04 20:13:48 +00:00
parent 92034e14da
commit 990976abff
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,7 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
Copyright (c) 2012, ARM Ltd. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@ -89,7 +90,7 @@ WaitForTick (
**/
EFI_METRONOME_ARCH_PROTOCOL gMetronome = {
WaitForTick,
100
FixedPcdGet32 (PcdMetronomeTickPeriod)
};

View File

@ -2,7 +2,9 @@
#
# Component description file for Bds module
#
# Copyright (c) 2008, Apple Inc. All rights reserved.<BR>
# Copyright (c) 2008, Apple Inc. All rights reserved.
# Copyright (c) 2012, ARM Ltd. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@ -22,13 +24,12 @@
ENTRY_POINT = MetronomeInitialize
[Sources.common]
Metronome.c
[Packages]
MdePkg/MdePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
[LibraryClasses]
BaseLib
@ -39,9 +40,9 @@
UefiDriverEntryPoint
TimerLib
[Guids]
[FixedPcd]
gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod
[Protocols]
gEfiMetronomeArchProtocolGuid