diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-03 23:07:29 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-03 23:07:29 +0000 |
commit | c639c2def9f9541a8dce49546da0daf11153e2aa (patch) | |
tree | 477a77249f3bfc791109fc3f002cb15875ea463d /ArmPkg | |
parent | eeb78924eca8f2c4d334138100298d8d1cbd1b4a (diff) | |
download | edk2-platforms-c639c2def9f9541a8dce49546da0daf11153e2aa.tar.xz |
Fix GCC warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9925 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c index 0f4139d585..74154fc219 100644 --- a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c +++ b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c @@ -369,6 +369,7 @@ SignExtend32 ( // The PC is after the instruction that is excuting. So you pass
// in the instruction address and you get back the aligned answer
//
+UINT32
PCAlign4 (
IN UINT32 Data
)
@@ -728,6 +729,7 @@ DisassembleThumbInstruction ( case RFE_FORMAT:
// <Rn>{!}
+ W = (OpCode32 & BIT21) == BIT21;
AsciiSPrint (&Buf[Offset], Size - Offset, " %a%a, #0x%x", gReg[Rn], W?"!":"");
return;
|