summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmArchTimerLib
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:23:08 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:23:08 +0000
commit31d196c16fe4f8cca4a3caedd49636b83eccd24d (patch)
tree21979260a48cd71d2c17ba3c05edaad17ff30d4d /ArmPkg/Library/ArmArchTimerLib
parent1bccfbe5ab2cf95f111bd8b4260b592102211027 (diff)
downloadedk2-31d196c16fe4f8cca4a3caedd49636b83eccd24d.tar.gz
edk2-31d196c16fe4f8cca4a3caedd49636b83eccd24d.tar.bz2
edk2-31d196c16fe4f8cca4a3caedd49636b83eccd24d.zip
ArmPkg/ArmArchTimerLib: Renamed the constructor to 'TimerConstructor()'
Some ARM Platform components (ie: PrePei) use this constructor name to initialize the timers (at this time there is no PE loader to call the library constructors) when PI/UEFI is started to initialize the PerformanceLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13041 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmArchTimerLib')
-rw-r--r--ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c4
-rw-r--r--ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf4
2 files changed, 4 insertions, 4 deletions
diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
index 3d5db05b35..d4602738ec 100644
--- a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
+++ b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
@@ -1,7 +1,7 @@
/** @file
Generic ARM implementation of TimerLib.h
- Copyright (c) 2011, ARM Limited. All rights reserved.
+ Copyright (c) 2011-2012, ARM Limited. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -26,7 +26,7 @@
RETURN_STATUS
EFIAPI
-ArmArchTimerLibConstructor (
+TimerConstructor (
VOID
)
{
diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
index 87548b4851..9c13e81307 100644
--- a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
+++ b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
@@ -1,6 +1,6 @@
#/** @file
#
-# Copyright (c) 2011, ARM Limited. All rights reserved.<BR>
+# Copyright (c) 2011-2012, ARM Limited. All rights reserved.<BR>
# 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
@@ -18,7 +18,7 @@
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = TimerLib
- CONSTRUCTOR = ArmArchTimerLibConstructor
+ CONSTRUCTOR = TimerConstructor
[Sources.common]
ArmArchTimerLib.c