\r
\r
/**\r
- Pass in a pointer to an ARM MOVT or MOVW immediate instruciton and\r
+ Pass in a pointer to an ARM MOVT or MOVW immediate instruction and\r
return the immediate data encoded in the instruction\r
\r
@param Instruction Pointer to ARM MOVT or MOVW immediate instruction\r
Update an ARM MOVT or MOVW immediate instruction immediate data.\r
\r
@param Instruction Pointer to ARM MOVT or MOVW immediate instruction\r
- @param Address New addres to patch into the instruction\r
+ @param Address New address to patch into the instruction\r
**/\r
VOID\r
ThumbMovtImmediatePatch (\r
{\r
UINT16 Patch;\r
\r
- // First 16-bit chunk of instruciton\r
+ // First 16-bit chunk of instruction\r
Patch = ((Address >> 12) & 0x000f); // imm4\r
Patch |= (((Address & BIT11) != 0) ? BIT10 : 0); // i\r
*Instruction = (*Instruction & ~0x040f) | Patch;\r
}\r
\r
/**\r
- Pass in a pointer to an ARM MOVW/MOVT instruciton pair and\r
+ Pass in a pointer to an ARM MOVW/MOVT instruction pair and\r
return the immediate data encoded in the two` instruction\r
\r
- @param Instructions Pointer to ARM MOVW/MOVT insturction pair\r
+ @param Instructions Pointer to ARM MOVW/MOVT instruction pair\r
\r
@return Immediate address encoded in the instructions\r
\r
Update an ARM MOVW/MOVT immediate instruction instruction pair.\r
\r
@param Instructions Pointer to ARM MOVW/MOVT instruction pair\r
- @param Address New addres to patch into the instructions\r
+ @param Address New address to patch into the instructions\r
**/\r
VOID\r
EFIAPI\r