summaryrefslogtreecommitdiff
path: root/ArmEbPkg/Sec
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-19 04:49:40 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-19 04:49:40 +0000
commit364aa45efb0eeb5b36d849f6360bcfa3bfb0f917 (patch)
treeaf7b103262aff891f76b62e9f468ae692943e677 /ArmEbPkg/Sec
parent3b7e958efd1c94ff2a5f5a3dd7543b206b102690 (diff)
downloadedk2-platforms-364aa45efb0eeb5b36d849f6360bcfa3bfb0f917.tar.xz
Fix GCC build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10517 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmEbPkg/Sec')
-rwxr-xr-xArmEbPkg/Sec/ModuleEntryPoint.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/ArmEbPkg/Sec/ModuleEntryPoint.asm b/ArmEbPkg/Sec/ModuleEntryPoint.asm
index d9d5bb64f2..e77b5057a8 100755
--- a/ArmEbPkg/Sec/ModuleEntryPoint.asm
+++ b/ArmEbPkg/Sec/ModuleEntryPoint.asm
@@ -37,8 +37,7 @@ _ModuleEntryPoint
orr r0, r0, #0x00f00000 // Enable VPF access (V* instructions)
mcr p15, 0, r0, c1, c0, 2
mov r0, #0x40000000 // Set EN bit in FPEXC
- msr FPEXC,r0
-
+ mcr p10,#0x7,r0,c8,c0,#0 // msr FPEXC,r0 in ARM assembly
// Set CPU vectors to start of DRAM
LoadConstantToReg (FixedPcdGet32(PcdCpuVectorBaseAddress) ,r0) // Get vector base