]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.c
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalV...
[mirror_edk2.git] / ArmPlatformPkg / Library / ArmPlatformGlobalVariableLib / Dxe / DxeArmPlatformGlobalVariableLib.c
index aebc91293502bafae1ee7d8a78c95351578fe736..278138759f376e68548c3422afd2a1bb3ec890d8 100644 (file)
@@ -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
@@ -67,3 +67,10 @@ ArmPlatformSetGlobalVariable (
   CopyMem ((VOID*)(mGlobalVariableBase + VariableOffset), Variable, VariableSize);
 }
 
+VOID*
+ArmPlatformGetGlobalVariableAddress (
+  IN  UINTN     VariableOffset
+  )
+{
+  return (VOID*)(mGlobalVariableBase + VariableOffset);
+}