mirror of https://github.com/acidanthera/audk.git
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:
parent
92034e14da
commit
990976abff
|
@ -1,6 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||||
|
Copyright (c) 2012, ARM Ltd. All rights reserved.
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -89,7 +90,7 @@ WaitForTick (
|
||||||
**/
|
**/
|
||||||
EFI_METRONOME_ARCH_PROTOCOL gMetronome = {
|
EFI_METRONOME_ARCH_PROTOCOL gMetronome = {
|
||||||
WaitForTick,
|
WaitForTick,
|
||||||
100
|
FixedPcdGet32 (PcdMetronomeTickPeriod)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
#
|
#
|
||||||
# Component description file for Bds module
|
# 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
|
# This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# 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
|
# which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -22,13 +24,12 @@
|
||||||
|
|
||||||
ENTRY_POINT = MetronomeInitialize
|
ENTRY_POINT = MetronomeInitialize
|
||||||
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
Metronome.c
|
Metronome.c
|
||||||
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
EmbeddedPkg/EmbeddedPkg.dec
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseLib
|
BaseLib
|
||||||
|
@ -39,9 +40,9 @@
|
||||||
UefiDriverEntryPoint
|
UefiDriverEntryPoint
|
||||||
TimerLib
|
TimerLib
|
||||||
|
|
||||||
[Guids]
|
[FixedPcd]
|
||||||
|
gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod
|
||||||
|
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiMetronomeArchProtocolGuid
|
gEfiMetronomeArchProtocolGuid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue