/* This function sets the mask flag in the LVT LINT0 & LINT1 registers.  */
VOID EFIAPI DisableLvtInterrupts(VOID)
/* This function sets the mask flag in the LVT LINT0 & LINT1 registers.  */
VOID EFIAPI DisableLvtInterrupts(VOID)
{
  LOCAL_APIC_LVT_LINT  LvtLint;
  LvtLint.Uint32    = ReadLocalApicReg (XAPIC_LVT_LINT0_OFFSET);
  LvtLint.Bits.Mask = 1;
  WriteLocalApicReg (XAPIC_LVT_LINT0_OFFSET, LvtLint.Uint32);
  LvtLint.Uint32    = ReadLocalApicReg (XAPIC_LVT_LINT1_OFFSET);
  LvtLint.Bits.Mask = 1;
  WriteLocalApicReg (XAPIC_LVT_LINT1_OFFSET, LvtLint.Uint32);
}