ArmPlatformPkg/ArmPlatformSysConfigLib: Add function 'ArmPlatformSysConfigGetValues'

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13066 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2012-02-28 17:35:03 +00:00
parent afb9f4da94
commit 911da88693
2 changed files with 19 additions and 1 deletions

View File

@ -151,6 +151,16 @@ ArmPlatformSysConfigGet (
return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value);
} }
EFI_STATUS
ArmPlatformSysConfigGetValues (
IN SYS_CONFIG_FUNCTION Function,
IN UINTN Size,
OUT UINT32* Values
)
{
return EFI_UNSUPPORTED;
}
EFI_STATUS EFI_STATUS
ArmPlatformSysConfigSet ( ArmPlatformSysConfigSet (
IN SYS_CONFIG_FUNCTION Function, IN SYS_CONFIG_FUNCTION Function,

View File

@ -1,6 +1,7 @@
/** @file ArmPlatformSysConfigLib.h /** @file ArmPlatformSysConfigLib.h
Copyright (c) 2011, ARM Ltd. All rights reserved.<BR> Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
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
@ -39,6 +40,13 @@ ArmPlatformSysConfigGet (
OUT UINT32* Value OUT UINT32* Value
); );
EFI_STATUS
ArmPlatformSysConfigGetValues (
IN SYS_CONFIG_FUNCTION Function,
IN UINTN Size,
OUT UINT32* Values
);
EFI_STATUS EFI_STATUS
ArmPlatformSysConfigSet ( ArmPlatformSysConfigSet (
IN SYS_CONFIG_FUNCTION Function, IN SYS_CONFIG_FUNCTION Function,