]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/Include/Library/ArmPlatformSysConfigLib.h
ArmPlatformPkg: remove ArmVExpressPkg
[mirror_edk2.git] / ArmPlatformPkg / Include / Library / ArmPlatformSysConfigLib.h
CommitLineData
1e57a462 1/** @file ArmPlatformSysConfigLib.h\r
2\r
3 Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>\r
4\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __ARM_PLATFORM_SYS_CONFIG_H__\r
16#define __ARM_PLATFORM_SYS_CONFIG_H__\r
17\r
18#include <Base.h>\r
19\r
20/* This header file makes it easier to access the System Configuration Registers\r
21 * in the ARM Versatile Express motherboard.\r
22 */\r
23\r
24//\r
25// Typedef\r
26//\r
27typedef UINT32 SYS_CONFIG_FUNCTION;\r
28\r
29//\r
30// Functions\r
31//\r
32RETURN_STATUS\r
33ArmPlatformSysConfigInitialize (\r
34 VOID\r
35 );\r
36\r
37RETURN_STATUS\r
38ArmPlatformSysConfigGet (\r
39 IN SYS_CONFIG_FUNCTION Function,\r
40 OUT UINT32* Value\r
41 );\r
42\r
43RETURN_STATUS\r
44ArmPlatformSysConfigGetValues (\r
45 IN SYS_CONFIG_FUNCTION Function,\r
46 IN UINTN Size,\r
47 OUT UINT32* Values\r
48 );\r
49\r
50RETURN_STATUS\r
51ArmPlatformSysConfigSet (\r
52 IN SYS_CONFIG_FUNCTION Function,\r
53 IN UINT32 Value\r
54 );\r
55\r
56RETURN_STATUS\r
57ArmPlatformSysConfigSetDevice (\r
58 IN SYS_CONFIG_FUNCTION Function,\r
59 IN UINT32 Device,\r
60 IN UINT32 Value\r
61 );\r
62\r
63#endif /* __SYS_CFG_REGISTERS_H__ */\r