-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RaspberryPi2/3 UEFI source code as of Windows10 RS1 release
- Loading branch information
Your Name
committed
Oct 22, 2016
1 parent
b81715b
commit 42edc35
Showing
190 changed files
with
19,582 additions
and
217 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/Arm/ArmCortexA5xHelper.S
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#------------------------------------------------------------------------------ | ||
# | ||
# Copyright (c) 2013 - 2014, ARM Limited. All rights reserved. | ||
# Copyright (c) Microsoft Corporation. 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. | ||
# | ||
#------------------------------------------------------------------------------ | ||
|
||
#include <AsmMacroIoLib.h> | ||
|
||
.text | ||
.align 3 | ||
GCC_ASM_EXPORT (ArmReadCpuExCr) | ||
GCC_ASM_EXPORT (ArmWriteCpuExCr) | ||
|
||
ASM_PFX(ArmReadCpuExCr): | ||
mrrc p15, 1, r0, r1, c15 | ||
bx lr | ||
|
||
ASM_PFX(ArmWriteCpuExCr): | ||
mcrr p15, 1, r0, r1, c15 | ||
dsb | ||
isb | ||
bx lr | ||
|
||
ASM_FUNCTION_REMOVE_IF_UNREFERENCED |
36 changes: 36 additions & 0 deletions
36
ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/Arm/ArmCortexA5xHelper.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
//------------------------------------------------------------------------------ | ||
// | ||
// Copyright (c) 2013 - 2014, ARM Limited. All rights reserved. | ||
// Copyright (c) Microsoft Corporation. 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. | ||
// | ||
//------------------------------------------------------------------------------ | ||
|
||
#include <AsmMacroIoLib.h> | ||
|
||
INCLUDE AsmMacroIoLib.inc | ||
|
||
EXPORT ArmReadCpuExCr | ||
EXPORT ArmWriteCpuExCr | ||
|
||
AREA ArmCortexA5xHelper, CODE, READONLY | ||
|
||
ArmReadCpuExCr | ||
mrrc p15, 1, r0, r1, c15 | ||
bx lr | ||
|
||
ArmWriteCpuExCr | ||
mcrr p15, 1, r0, r1, c15 | ||
dsb | ||
isb | ||
bx lr | ||
|
||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.