summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-19 15:22:53 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-19 15:22:53 +0000
commit6f890d5b408233e5a305163a3f1d634a8b5d5744 (patch)
treef08e5a96e7fc6c7789269776e7022f31266064ed /MdePkg
parentee6c452c81f135a53f918761f02333ee57d7776d (diff)
downloadedk2-platforms-6f890d5b408233e5a305163a3f1d634a8b5d5744.tar.xz
Detab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6639 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Thunk16.S16
-rw-r--r--MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s8
-rw-r--r--MdePkg/Library/BaseLib/X64/CpuBreakpoint.S4
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr5.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr6.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr7.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDs.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm0.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm1.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm2.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm3.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm4.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm5.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm6.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm7.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm0.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm1.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm2.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm3.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm4.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm5.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm6.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMm7.S2
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMsr64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.asm4
-rw-r--r--MdePkg/Library/BaseMemoryLibOptDxe/ZeroMemWrapper.c2
-rw-r--r--MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.asm8
-rw-r--r--MdePkg/Library/DxeCoreHobLib/HobLib.c2
-rw-r--r--MdePkg/Library/DxeHobLib/HobLib.c4
30 files changed, 47 insertions, 47 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.S b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
index 5755a3705f..90557ae5aa 100644
--- a/MdePkg/Library/BaseLib/Ia32/Thunk16.S
+++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
@@ -183,14 +183,14 @@ ASM_PFX(InternalAsmThunk16):
popfl
lidtl 0x24(%esp)
lea 0xffffffcc(%ebp), %eax
- pop %gs
- pop %fs
- pop %es
- pop %ds
- pop %edi
- pop %esi
- pop %ebx
- pop %ebp
+ pop %gs
+ pop %fs
+ pop %es
+ pop %ds
+ pop %edi
+ pop %esi
+ pop %ebx
+ pop %ebp
ret
.const:
diff --git a/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s b/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s
index 83de3ec89c..95c2b1d0d0 100644
--- a/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s
+++ b/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s
@@ -47,7 +47,7 @@ MemoryFence::
.type DisableInterrupts, @function
DisableInterrupts::
- rsm 0x4000
+ rsm 0x4000
srlz.d;;
br.ret.dpnt b0;;
@@ -57,7 +57,7 @@ DisableInterrupts::
.type EnableInterrupts, @function
EnableInterrupts::
- ssm 0x4000
+ ssm 0x4000
srlz.d;;
br.ret.dpnt b0;;
@@ -67,10 +67,10 @@ EnableInterrupts::
.type EnableDisableInterrupts, @function
EnableDisableInterrupts::
- ssm 0x4000
+ ssm 0x4000
srlz.d;;
srlz.i;;
- rsm 0x4000
+ rsm 0x4000
srlz.d;;
br.ret.dpnt b0;;
diff --git a/MdePkg/Library/BaseLib/X64/CpuBreakpoint.S b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.S
index 393488e5aa..32d782d30a 100644
--- a/MdePkg/Library/BaseLib/X64/CpuBreakpoint.S
+++ b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.S
@@ -21,5 +21,5 @@
.global ASM_PFX(CpuBreakpoint)
ASM_PFX(CpuBreakpoint):
- int $0x3
- ret
+ int $0x3
+ ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr5.S b/MdePkg/Library/BaseLib/X64/ReadDr5.S
index bf65b4e83d..95e3ee8b1a 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr5.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr5.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadDr5)
.align 16
ASM_PFX(AsmReadDr5):
- mov %dr5, %rax
+ mov %dr5, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr6.S b/MdePkg/Library/BaseLib/X64/ReadDr6.S
index f1d12aaa51..972420c9e6 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr6.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr6.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadDr6)
.align 16
ASM_PFX(AsmReadDr6):
- mov %dr6, %rax
+ mov %dr6, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr7.S b/MdePkg/Library/BaseLib/X64/ReadDr7.S
index 34fdb67db6..01756f5732 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr7.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr7.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadDr7)
.align 16
ASM_PFX(AsmReadDr7):
- mov %dr7, %rax
+ mov %dr7, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDs.S b/MdePkg/Library/BaseLib/X64/ReadDs.S
index 8f6576ab2d..ee32e0814b 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDs.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadDs)
.align 16
ASM_PFX(AsmReadDs):
- movl %ds, %eax
+ movl %ds, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm0.S b/MdePkg/Library/BaseLib/X64/ReadMm0.S
index 83bc3a876b..57c91da85f 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm0.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm0.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm0)
.align 16
ASM_PFX(AsmReadMm0):
- movd %mm0, %rax
+ movd %mm0, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm1.S b/MdePkg/Library/BaseLib/X64/ReadMm1.S
index 1640aa8cca..45ef7f8a55 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm1.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm1.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm1)
.align 16
ASM_PFX(AsmReadMm1):
- movd %mm1, %rax
+ movd %mm1, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm2.S b/MdePkg/Library/BaseLib/X64/ReadMm2.S
index 2c9166f09a..d0cdf19b71 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm2.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm2.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm2)
.align 16
ASM_PFX(AsmReadMm2):
- movd %mm2, %rax
+ movd %mm2, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm3.S b/MdePkg/Library/BaseLib/X64/ReadMm3.S
index e13c14d8ae..c1d7fd9e5b 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm3.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm3.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm3)
.align 16
ASM_PFX(AsmReadMm3):
- movd %mm3, %rax
+ movd %mm3, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm4.S b/MdePkg/Library/BaseLib/X64/ReadMm4.S
index 9f7be77e22..dafeca484c 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm4.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm4.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm4)
.align 16
ASM_PFX(AsmReadMm4):
- movd %mm4, %rax
+ movd %mm4, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm5.S b/MdePkg/Library/BaseLib/X64/ReadMm5.S
index 18fcbfce00..26d83631af 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm5.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm5.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm5)
.align 16
ASM_PFX(AsmReadMm5):
- movd %mm5, %rax
+ movd %mm5, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm6.S b/MdePkg/Library/BaseLib/X64/ReadMm6.S
index 7966c7b9b0..a8ea02226b 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm6.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm6.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm6)
.align 16
ASM_PFX(AsmReadMm6):
- movd %mm6, %rax
+ movd %mm6, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm7.S b/MdePkg/Library/BaseLib/X64/ReadMm7.S
index 9feba2023e..1f273670fd 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm7.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm7.S
@@ -32,5 +32,5 @@
.global ASM_PFX(AsmReadMm7)
.align 16
ASM_PFX(AsmReadMm7):
- movd %mm7, %rax
+ movd %mm7, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm0.S b/MdePkg/Library/BaseLib/X64/WriteMm0.S
index 6ee0a9d8c9..1eeb502a5e 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm0.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm0.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm0)
ASM_PFX(AsmWriteMm0):
- movd %rcx, %mm0
+ movd %rcx, %mm0
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm1.S b/MdePkg/Library/BaseLib/X64/WriteMm1.S
index d5262df2c1..8dfd30a48e 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm1.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm1.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm1)
ASM_PFX(AsmWriteMm1):
- movd %rcx, %mm1
+ movd %rcx, %mm1
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm2.S b/MdePkg/Library/BaseLib/X64/WriteMm2.S
index 7efdffb90c..d3ce4b5d89 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm2.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm2.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm2)
ASM_PFX(AsmWriteMm2):
- movd %rcx, %mm2
+ movd %rcx, %mm2
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm3.S b/MdePkg/Library/BaseLib/X64/WriteMm3.S
index 0bf1ef24d9..8fa99d5a47 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm3.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm3.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm3)
ASM_PFX(AsmWriteMm3):
- movd %rcx, %mm3
+ movd %rcx, %mm3
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm4.S b/MdePkg/Library/BaseLib/X64/WriteMm4.S
index 3b5050fbb0..46d3958c6a 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm4.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm4.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm4)
ASM_PFX(AsmWriteMm4):
- movd %rcx, %mm4
+ movd %rcx, %mm4
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm5.S b/MdePkg/Library/BaseLib/X64/WriteMm5.S
index ecfc2d8ae2..52f03d7711 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm5.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm5.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm5)
ASM_PFX(AsmWriteMm5):
- movd %rcx, %mm5
+ movd %rcx, %mm5
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm6.S b/MdePkg/Library/BaseLib/X64/WriteMm6.S
index 57b1b499e7..099b6659c7 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm6.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm6.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm6)
ASM_PFX(AsmWriteMm6):
- movd %rcx, %mm6
+ movd %rcx, %mm6
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMm7.S b/MdePkg/Library/BaseLib/X64/WriteMm7.S
index d4a00f8f4b..91d91750aa 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMm7.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMm7.S
@@ -31,5 +31,5 @@
#------------------------------------------------------------------------------
.global ASM_PFX(AsmWriteMm7)
ASM_PFX(AsmWriteMm7):
- movd %rcx, %mm7
+ movd %rcx, %mm7
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMsr64.S b/MdePkg/Library/BaseLib/X64/WriteMsr64.S
index 052ed3c3ed..a034efe070 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMsr64.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMsr64.S
@@ -33,7 +33,7 @@
.global ASM_PFX(AsmWriteMsr64)
.align 16
ASM_PFX(AsmWriteMsr64):
- mov %rdx, %rax # meanwhile, rax <- return value
+ mov %rdx, %rax # meanwhile, rax <- return value
shr $0x20, %rdx # edx:eax contains the value to write
wrmsr
ret
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S
index 00c354032f..6cb3a34210 100644
--- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S
@@ -48,10 +48,10 @@ ASM_PFX(InternalMemZeroMem):
mov rcx, rdx # rcx = Count
shr rcx, 3 # rcx = rcx / 8
cld
- rep stosq
+ rep stosq
mov rcx, rdx # rcx = rdx
and rcx, 7 # rcx = rcx & 7
- rep stosb
+ rep stosb
pop rax # rax = Buffer
pop rbx
pop rdi
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.asm b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.asm
index c94b6b5703..c8cf40b4ca 100644
--- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.asm
+++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.asm
@@ -47,10 +47,10 @@ InternalMemSetMem PROC USES rdi rbx
mov rcx, rdx ; rcx = Count
shr rcx, 3 ; rcx = rcx / 8
cld
- rep stosq
+ rep stosq
mov rcx, rdx ; rcx = rdx
and rcx, 7 ; rcx = rcx & 7
- rep stosb
+ rep stosb
pop rax ; rax = Buffer
ret
InternalMemSetMem ENDP
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/ZeroMemWrapper.c b/MdePkg/Library/BaseMemoryLibOptDxe/ZeroMemWrapper.c
index 4e102322a9..5892232821 100644
--- a/MdePkg/Library/BaseMemoryLibOptDxe/ZeroMemWrapper.c
+++ b/MdePkg/Library/BaseMemoryLibOptDxe/ZeroMemWrapper.c
@@ -51,7 +51,7 @@ ZeroMem (
ASSERT (!(Buffer == NULL && Length > 0));
ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
if (Length == 0) {
- return Buffer;
+ return Buffer;
}
return InternalMemZeroMem (Buffer, Length);
}
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.asm b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.asm
index ecde8ec9db..79abf29f7b 100644
--- a/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.asm
+++ b/MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.asm
@@ -34,11 +34,11 @@
;------------------------------------------------------------------------------
InternalMemSetMem PROC USES rdi
push rcx ; push Buffer
- mov rax, r8 ; rax = Value
- mov rdi, rcx ; rdi = Buffer
- mov rcx, rdx ; rcx = Count
+ mov rax, r8 ; rax = Value
+ mov rdi, rcx ; rdi = Buffer
+ mov rcx, rdx ; rcx = Count
rep stosb
- pop rax ; rax = Buffer
+ pop rax ; rax = Buffer
ret
InternalMemSetMem ENDP
diff --git a/MdePkg/Library/DxeCoreHobLib/HobLib.c b/MdePkg/Library/DxeCoreHobLib/HobLib.c
index ac4955149f..302d1bbd8c 100644
--- a/MdePkg/Library/DxeCoreHobLib/HobLib.c
+++ b/MdePkg/Library/DxeCoreHobLib/HobLib.c
@@ -36,7 +36,7 @@ GetHobList (
VOID
)
{
- ASSERT (gHobList != NULL);
+ ASSERT (gHobList != NULL);
return gHobList;
}
diff --git a/MdePkg/Library/DxeHobLib/HobLib.c b/MdePkg/Library/DxeHobLib/HobLib.c
index db69912e4f..2e41453a16 100644
--- a/MdePkg/Library/DxeHobLib/HobLib.c
+++ b/MdePkg/Library/DxeHobLib/HobLib.c
@@ -47,7 +47,7 @@ HobLibConstructor (
{
EFI_STATUS Status;
- Status = EfiGetSystemConfigurationTable (&gEfiHobListGuid, &mHobList);
+ Status = EfiGetSystemConfigurationTable (&gEfiHobListGuid, &mHobList);
ASSERT_EFI_ERROR (Status);
ASSERT (mHobList != NULL);
@@ -69,7 +69,7 @@ GetHobList (
VOID
)
{
- ASSERT (mHobList != NULL);
+ ASSERT (mHobList != NULL);
return mHobList;
}