From d9efd68ef54883f8142d833212d66870248c0dd7 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 2 May 2012 19:51:08 +0000 Subject: ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalVariableAddress() This function returns the address of a Global Variable in the Global Variable Region. Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13246 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Include/Library/ArmPlatformGlobalVariableLib.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ArmPlatformPkg/Include') diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformGlobalVariableLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformGlobalVariableLib.h index c0264c24bd..02ef1ea832 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformGlobalVariableLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformGlobalVariableLib.h @@ -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 @@ -29,5 +29,10 @@ ArmPlatformSetGlobalVariable ( OUT VOID* Variable ); +VOID* +ArmPlatformGetGlobalVariableAddress ( + IN UINTN VariableOffset + ); + #endif -- cgit v1.2.3