/* Update an ARM MOVW/MOVT immediate instruction instruction pair. */
VOID EFIAPI ThumbMovwMovtImmediatePatch(IN OUT UINT16 *Instructions, IN UINT32 Address)
/* Update an ARM MOVW/MOVT immediate instruction instruction pair. */
VOID EFIAPI ThumbMovwMovtImmediatePatch(IN OUT UINT16 *Instructions, IN UINT32 Address)
{
  UINT16  *Word;
  UINT16  *Top;
  Word = (UINT16 *)Instructions;
  Top  = Word + 2;
  ThumbMovtImmediatePatch (Word, (UINT16)(Address & 0xffff));
  ThumbMovtImmediatePatch (Top, (UINT16)(Address >> 16));
}