From 31d196c16fe4f8cca4a3caedd49636b83eccd24d Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Mon, 27 Feb 2012 10:23:08 +0000 Subject: 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 --- ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c | 4 ++-- ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ArmPkg/Library/ArmArchTimerLib') 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.
+# 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 # 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 -- cgit v1.2.3