X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FInclude%2FLibrary%2FArmPlatformLib.h;h=225183af2c78c1201872e3697527a92ae7dc04fd;hp=77561a3d05b3dcdafd2e8a27b6cdb87ec057afbf;hb=HEAD;hpb=3402aac7d985bf8a9f9d3c639f3fe93609380513 diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index 77561a3d05..cd87743eba 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -1,15 +1,9 @@ /** @file -* -* Copyright (c) 2011-2013, 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 -* http://opensource.org/licenses/bsd-license.php -* -* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -* + + Copyright (c) 2011-2013, ARM Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + **/ #ifndef _ARMPLATFORMLIB_H_ @@ -20,26 +14,13 @@ // #include // -// The protocols, PPI and GUID defintions for this module +// The protocols, PPI and GUID definitions for this module // #include #include #include -/** - This structure is used to describe a region of the EFI memory map - - Every EFI regions of the system memory described by their physical start address and their size - can have different attributes. Some regions can be tested and other untested. - -**/ -typedef struct { - EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute; - EFI_PHYSICAL_ADDRESS PhysicalStart; - UINT64 NumberOfBytes; -} ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR; - /** Return the core position from the value of its MpId register @@ -51,7 +32,7 @@ typedef struct { **/ UINTN ArmPlatformGetCorePosition ( - IN UINTN MpId + IN UINTN MpId ); /** @@ -66,7 +47,7 @@ ArmPlatformGetCorePosition ( **/ UINTN ArmPlatformIsPrimaryCore ( - IN UINTN MpId + IN UINTN MpId ); /** @@ -121,18 +102,7 @@ ArmPlatformPeiBootAction ( **/ RETURN_STATUS ArmPlatformInitialize ( - IN UINTN MpId - ); - -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID + IN UINTN MpId ); /** @@ -147,7 +117,7 @@ ArmPlatformInitializeSystemMemory ( **/ VOID ArmPlatformGetVirtualMemoryMap ( - OUT ARM_MEMORY_REGION_DESCRIPTOR** VirtualMemoryMap + OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap ); /**