X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseCpuLib%2FArm%2FCpuFlushTlb.S;h=3bafce6f3f2a0b9d3cac4a4cbbac76c77db9812e;hb=9344f0921518309295da89c221d10cbead8531aa;hp=65814254914482844a4672d2ea2313376927ee2c;hpb=990e25aa3597f1f48ec5920b03a276b94c5db8ec;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S b/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S index 6581425491..3bafce6f3f 100644 --- a/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S +++ b/MdePkg/Library/BaseCpuLib/Arm/CpuFlushTlb.S @@ -1,22 +1,16 @@ -#------------------------------------------------------------------------------ +#------------------------------------------------------------------------------ # # CpuFlushTlb() for ARM # -# Copyright (c) 2006 - 2009, Intel Corporation
-# Portions copyright (c) 2008-2009 Apple Inc.
-# 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) 2006 - 2018, Intel Corporation. All rights reserved.
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent # #------------------------------------------------------------------------------ .text .p2align 2 -.globl ASM_PFX(CpuFlushTlb) +GCC_ASM_EXPORT(CpuFlushTlb) #/** # Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU. @@ -32,5 +26,5 @@ # ASM_PFX(CpuFlushTlb): mov r0,#0 - mcr p15,0,r0,c8,c5,0 # Invalidate all the unlocked entried in TLB + mcr p15,0,r0,c8,c5,0 // Invalidate all the unlocked entried in TLB bx LR