summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-20 07:24:59 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-20 07:24:59 +0000
commitea3c1b3ad6ba70c02dc130583f843a14c6d10b2a (patch)
treec72636eb0d6288d0fdb49c2616f841dd158d5d93 /MdePkg
parent3d4d4cfaa07a7a54a9281689702d03f418699b51 (diff)
downloadedk2-ea3c1b3ad6ba70c02dc130583f843a14c6d10b2a.tar.gz
edk2-ea3c1b3ad6ba70c02dc130583f843a14c6d10b2a.tar.bz2
edk2-ea3c1b3ad6ba70c02dc130583f843a14c6d10b2a.zip
1. Use .p2align directive instead of ambiguous .align directive.
It seems for ARM, .align means power of two, so we'd like to use .p2align for more portability. 2. Fix some typos in ARM ProcessorBind.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9152 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Arm/ProcessorBind.h4
-rw-r--r--MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S2
2 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Arm/ProcessorBind.h b/MdePkg/Include/Arm/ProcessorBind.h
index 2f24f0da70..956b59fdeb 100644
--- a/MdePkg/Include/Arm/ProcessorBind.h
+++ b/MdePkg/Include/Arm/ProcessorBind.h
@@ -23,7 +23,7 @@
#define MDE_CPU_ARM
//
-// Make sure we are useing the correct packing rules per EFI specification
+// Make sure we are using the correct packing rules per EFI specification
//
#ifndef __GNUC__
#pragma pack()
@@ -101,7 +101,7 @@ typedef INT32 INTN;
//
// Modifier to ensure that all protocol member functions and EFI intrinsics
// use the correct C calling convention. All protocol member functions and
-// EFI intrinsics are required to modify thier member functions with EFIAPI.
+// EFI intrinsics are required to modify their member functions with EFIAPI.
//
#define EFIAPI
diff --git a/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S b/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
index 47134981a9..1041f8fb78 100644
--- a/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
+++ b/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
@@ -15,7 +15,7 @@
#------------------------------------------------------------------------------
.text
-.align 2
+.p2align 2
.globl ASM_PFX(CpuBreakpoint)
#/**