/* Reads and returns the current value of FS. This function is only available on IA-32 and x64. */
UINT16 EFIAPI AsmReadFs(VOID)
/* Reads and returns the current value of FS. This function is only available on IA-32 and x64. */
UINT16 EFIAPI AsmReadFs(VOID)
{
  __asm {
    xor     eax, eax
    mov     ax, fs
  }
}