BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
325ad62260
commit
fb0b35e05f
@ -101,7 +101,7 @@ Returns:
|
||||
|
||||
|
||||
/**
|
||||
Pass in a pointer to an ARM MOVT or MOVW immediate instruciton and
|
||||
Pass in a pointer to an ARM MOVT or MOVW immediate instruction and
|
||||
return the immediate data encoded in the instruction
|
||||
|
||||
@param Instruction Pointer to ARM MOVT or MOVW immediate instruction
|
||||
@ -137,7 +137,7 @@ ThumbMovtImmediateAddress (
|
||||
Update an ARM MOVT or MOVW immediate instruction immediate data.
|
||||
|
||||
@param Instruction Pointer to ARM MOVT or MOVW immediate instruction
|
||||
@param Address New addres to patch into the instruction
|
||||
@param Address New address to patch into the instruction
|
||||
**/
|
||||
VOID
|
||||
ThumbMovtImmediatePatch (
|
||||
@ -147,7 +147,7 @@ ThumbMovtImmediatePatch (
|
||||
{
|
||||
UINT16 Patch;
|
||||
|
||||
// First 16-bit chunk of instruciton
|
||||
// First 16-bit chunk of instruction
|
||||
Patch = ((Address >> 12) & 0x000f); // imm4
|
||||
Patch |= (((Address & BIT11) != 0) ? BIT10 : 0); // i
|
||||
*Instruction = (*Instruction & ~0x040f) | Patch;
|
||||
@ -160,10 +160,10 @@ ThumbMovtImmediatePatch (
|
||||
}
|
||||
|
||||
/**
|
||||
Pass in a pointer to an ARM MOVW/MOVT instruciton pair and
|
||||
Pass in a pointer to an ARM MOVW/MOVT instruction pair and
|
||||
return the immediate data encoded in the two` instruction
|
||||
|
||||
@param Instructions Pointer to ARM MOVW/MOVT insturction pair
|
||||
@param Instructions Pointer to ARM MOVW/MOVT instruction pair
|
||||
|
||||
@return Immediate address encoded in the instructions
|
||||
|
||||
@ -188,7 +188,7 @@ ThumbMovwMovtImmediateAddress (
|
||||
Update an ARM MOVW/MOVT immediate instruction instruction pair.
|
||||
|
||||
@param Instructions Pointer to ARM MOVW/MOVT instruction pair
|
||||
@param Address New addres to patch into the instructions
|
||||
@param Address New address to patch into the instructions
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
|
Reference in New Issue
Block a user