/* This routine provides the ability to read raw unsigned data from the code stream. */
UINT32 VmReadCode32(IN VM_CONTEXT *VmPtr, IN UINT32 Offset)
/* This routine provides the ability to read raw unsigned data from the code stream. */
UINT32 VmReadCode32(IN VM_CONTEXT *VmPtr, IN UINT32 Offset)
{
  UINT32  Data;
  if (ADDRESS_IS_ALIGNED ((UINTN)VmPtr->Ip + Offset, sizeof (UINT32))) {
    return *(UINT32 *)(VmPtr->Ip + Offset);
  }
  Data  = (UINT32)VmReadCode16 (VmPtr, Offset);
  Data |= (VmReadCode16 (VmPtr, Offset + 2) << 16);
  return Data;
}