/* Returns TRUE if the machine type of PE/COFF image is supported. Supported does not mean the image can be executed it means the PE/COFF loader supports loading and relocating of the image type. It's up to the caller to support the entry point. */
BOOLEAN PeCoffLoaderImageFormatSupported(IN UINT16 Machine)
/* Returns TRUE if the machine type of PE/COFF image is supported. Supported does not mean the image can be executed it means the PE/COFF loader supports loading and relocating of the image type. It's up to the caller to support the entry point. */
BOOLEAN PeCoffLoaderImageFormatSupported(IN UINT16 Machine)
{
  if ((Machine == IMAGE_FILE_MACHINE_RISCV64) ||
      (Machine == IMAGE_FILE_MACHINE_ARM64) ||
      (Machine == IMAGE_FILE_MACHINE_X64))
  {
    return TRUE;
  }
  return FALSE;
}