mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 23:54:02 +02:00
ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, line endings)
- Fixed misspellings - Updated Copyright - Remove unused sections in INF file - Fixed incorrect commentsi - Fixed coding style - Fixed line endings (CRLR) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13052 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
986223907f
commit
0db25ccc6c
@ -1,6 +1,6 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for Timer DXE module
|
||||
# Component description file for Timer DXE module
|
||||
#
|
||||
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for ArmVeGraphicsDxe module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for ArmRealViewGraphicsDxe module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for SysConfigArmRealViewEbLib module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
@ -31,15 +31,3 @@
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
|
||||
[Guids]
|
||||
|
||||
[Protocols]
|
||||
|
||||
[FeaturePcd]
|
||||
|
||||
[FixedPcd.common]
|
||||
|
||||
[Pcd.common]
|
||||
|
||||
[Depex]
|
||||
|
@ -77,7 +77,6 @@
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
|
||||
|
||||
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress-RTSM"
|
||||
|
||||
#
|
||||
|
@ -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
|
||||
@ -13,7 +13,6 @@
|
||||
**/
|
||||
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/ArmTrustZoneLib.h>
|
||||
#include <Library/ArmPlatformLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/PcdLib.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
|
||||
@ -13,12 +13,13 @@
|
||||
**/
|
||||
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/ArmTrustZoneLib.h>
|
||||
#include <Library/ArmPlatformLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/PcdLib.h>
|
||||
|
||||
#include <Drivers/PL310L2Cache.h>
|
||||
#include <Drivers/SP804Timer.h>
|
||||
|
||||
#include <ArmPlatform.h>
|
||||
|
||||
/**
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for ArmVExpressSysConfigLib module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
@ -32,15 +32,3 @@
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
IoLib
|
||||
|
||||
[Guids]
|
||||
|
||||
[Protocols]
|
||||
|
||||
[FeaturePcd]
|
||||
|
||||
[FixedPcd.common]
|
||||
|
||||
[Pcd.common]
|
||||
|
||||
[Depex]
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for ArmVeGraphicsDxe module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for NorFlashDxe module
|
||||
# Component description file for Bds module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
@ -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
|
||||
@ -93,7 +93,6 @@ EditHIInputAscii (
|
||||
AsciiStrToUnicodeStr (CmdLine, Str);
|
||||
|
||||
Status = EditHIInputStr (Str, MaxCmdLine);
|
||||
|
||||
if (!EFI_ERROR(Status)) {
|
||||
UnicodeStrToAsciiStr (Str, CmdLine);
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ BdsLoadOptionFileSystemUpdateDevicePath (
|
||||
FILEPATH_DEVICE_PATH* FilePathDevicePath;
|
||||
EFI_DEVICE_PATH* DevicePath;
|
||||
|
||||
DevicePath = DuplicateDevicePath(OldDevicePath);
|
||||
DevicePath = DuplicateDevicePath (OldDevicePath);
|
||||
|
||||
EndingDevicePath = (FILEPATH_DEVICE_PATH*)GetLastDevicePathNode (DevicePath);
|
||||
|
||||
|
@ -57,7 +57,7 @@ LcdInitialize (
|
||||
EFI_STATUS Status = EFI_SUCCESS;
|
||||
|
||||
// Check if the PL111 is fitted on this motherboard
|
||||
Status = PL111Indentify();
|
||||
Status = PL111Indentify ();
|
||||
if (EFI_ERROR( Status )) {
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for ArmVeGraphicsDxe module
|
||||
# Component description file for PL111LcdGraphicsOutputDxe module
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
@ -1,8 +1,9 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for NorFlashDxe module
|
||||
# Component description file for PL011Uart module
|
||||
#
|
||||
# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
||||
#
|
||||
# Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
|
||||
# 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
|
||||
|
@ -2,7 +2,7 @@
|
||||
Template for Timer Architecture Protocol driver of the ARM flavor
|
||||
|
||||
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
Copyright (c) 20i1 - 2012, ARM Ltd. All rights reserved.<BR>
|
||||
Copyright (c) 2011 - 2012, ARM Ltd. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -1,6 +1,6 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for Timer module
|
||||
# Component description file for Timer module
|
||||
#
|
||||
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
|
@ -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
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <Protocol/EmbeddedGpio.h>
|
||||
|
||||
// SP805 Watchdog Registers
|
||||
// PL061 GPIO Registers
|
||||
#define PL061_GPIO_DATA_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x000)
|
||||
#define PL061_GPIO_DIR_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x400)
|
||||
#define PL061_GPIO_IS_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x404)
|
||||
@ -44,7 +44,7 @@
|
||||
// GPIO pins are numbered 0..7
|
||||
#define LAST_GPIO_PIN 7
|
||||
|
||||
// All bits low except one bit high, native bit lenght
|
||||
// All bits low except one bit high, native bit length
|
||||
#define GPIO_PIN_MASK(Pin) (1UL << ((UINTN)(Pin)))
|
||||
// All bits low except one bit high, restricted to 8 bits (i.e. ensures zeros above 8bits)
|
||||
#define GPIO_PIN_MASK_HIGH_8BIT(Pin) (GPIO_PIN_MASK(Pin) && 0xFF)
|
||||
|
@ -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,7 +29,7 @@
|
||||
#include <Library/ArmLib.h>
|
||||
|
||||
/**
|
||||
This structure is used by ArmVExpressGetEfiMemoryMap to describes a region of the EFI memory map
|
||||
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.
|
||||
|
@ -1,8 +1,8 @@
|
||||
#/** @file
|
||||
# Timer library implementation
|
||||
#
|
||||
# ArmPlatformGlobalVariableLib library implementation
|
||||
#
|
||||
# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
||||
#
|
||||
# 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
|
||||
|
@ -1,6 +1,7 @@
|
||||
#/** @file
|
||||
#
|
||||
# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
||||
#
|
||||
# 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
|
||||
|
@ -1,6 +1,7 @@
|
||||
#/** @file
|
||||
#
|
||||
# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
||||
#
|
||||
# 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
#/* @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
|
||||
@ -17,7 +17,7 @@
|
||||
FILE_GUID = 8fff7a60-a6f8-11e0-990a-0002a5d5c51b
|
||||
MODULE_TYPE = BASE
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = DebugSecExtraActionLib
|
||||
LIBRARY_CLASS = ArmPlatformSecExtraActionLib
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
|
@ -53,7 +53,7 @@ IdentifyPL031 (
|
||||
goto EXIT;
|
||||
}
|
||||
|
||||
// Check if this PrimeCell Peripheral is the SP805 Watchdog Timer
|
||||
// Check if this PrimeCell Peripheral is the PL031 Real Time Clock
|
||||
if ( (MmioRead8 (PL031_RTC_PERIPH_ID0) != 0x31)
|
||||
|| (MmioRead8 (PL031_RTC_PERIPH_ID1) != 0x10)
|
||||
|| ((MmioRead8 (PL031_RTC_PERIPH_ID2) & 0xF) != 0x04)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for Bds module
|
||||
# Component description file for Bds module
|
||||
#
|
||||
# Copyright (c) 2008, Apple Inc. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
|
@ -1,6 +1,6 @@
|
||||
#/** @file
|
||||
#
|
||||
# Component discription file for Bds module
|
||||
# Component description file for Bds module
|
||||
#
|
||||
# Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
|
Loading…
x
Reference in New Issue
Block a user