X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=ArmPlatformPkg%2FSec%2FArm%2FHelper.asm;h=febcdb18a1b27a90f41c15b3c6d3a4c4909789ec;hb=3402aac7d985bf8a9f9d3c639f3fe93609380513;hp=b31cc31a97eeca196291f86bfbe6bf5a3ab73cae;hpb=a9d7090fc217dad23330ddc54cad4d4987cab65a;p=mirror_edk2.git diff --git a/ArmPlatformPkg/Sec/Arm/Helper.asm b/ArmPlatformPkg/Sec/Arm/Helper.asm index b31cc31a97..febcdb18a1 100644 --- a/ArmPlatformPkg/Sec/Arm/Helper.asm +++ b/ArmPlatformPkg/Sec/Arm/Helper.asm @@ -1,13 +1,13 @@ // // 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 -// 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. +// 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. // // @@ -15,7 +15,7 @@ EXPORT enter_monitor_mode EXPORT copy_cpsr_into_spsr EXPORT set_non_secure_mode - + AREA Helper, CODE, READONLY // r0: Monitor World EntryPoint @@ -34,7 +34,7 @@ enter_monitor_mode FUNCTION mov sp, r3 // Set the stack of the Monitor Mode mov lr, r0 // Use the pass entrypoint as lr - + msr spsr_cxsf, r4 // Use saved mode for the MOVS jump to the kernel mov r4, r0 // Swap EntryPoint and MpId registers @@ -75,5 +75,5 @@ set_non_secure_mode dead B dead - + END