Home | History | Annotate | Download | only in BaseXApicLib

Lines Matching full:bits

82   return (UINTN)(LShiftU64 ((UINT64) ApicBaseMsr.Bits.ApicBaseHigh, 32)) +

83 (((UINTN)ApicBaseMsr.Bits.ApicBaseLow) << 12);
113 ApicBaseMsr.Bits.ApicBaseLow = (UINT32) (BaseAddress >> 12);
114 ApicBaseMsr.Bits.ApicBaseHigh = (UINT32) (RShiftU64((UINT64) BaseAddress, 32));
195 // Save existing contents of ICR high 32 bits
205 } while (IcrLowReg.Bits.DeliveryStatus != 0);
218 } while (IcrLowReg.Bits.DeliveryStatus != 0);
259 ASSERT (ApicBaseMsr.Bits.En != 0);
260 ASSERT (ApicBaseMsr.Bits.Extd == 0);
386 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
387 IcrLow.Bits.Level = 1;
388 IcrLow.Bits.Vector = Vector;
408 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
409 IcrLow.Bits.Level = 1;
410 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
411 IcrLow.Bits.Vector = Vector;
431 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI;
432 IcrLow.Bits.Level = 1;
450 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI;
451 IcrLow.Bits.Level = 1;
452 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
472 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT;
473 IcrLow.Bits.Level = 1;
491 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT;
492 IcrLow.Bits.Level = 1;
493 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
524 IcrLow.Bits.Vector = (StartupRoutine >> 12);
525 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP;
526 IcrLow.Bits.Level = 1;
557 IcrLow.Bits.Vector = (StartupRoutine >> 12);
558 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP;
559 IcrLow.Bits.Level = 1;
560 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
587 if (Svr.Bits.SoftwareEnable == 0) {
588 Svr.Bits.SoftwareEnable = 1;
592 if (Svr.Bits.SoftwareEnable == 1) {
593 Svr.Bits.SoftwareEnable = 0;
620 Svr.Bits.SpuriousVector = 0xf;
621 Svr.Bits.SoftwareEnable = 1;
628 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_EXTINT;
629 Lint.Bits.InputPinPolarity = 0;
630 Lint.Bits.TriggerMode = 0;
631 Lint.Bits.Mask = 0;
638 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_NMI;
639 Lint.Bits.InputPinPolarity = 0;
640 Lint.Bits.TriggerMode = 0;
641 Lint.Bits.Mask = 0;
659 LvtLint.Bits.Mask = 1;
663 LvtLint.Bits.Mask = 1;
735 Dcr.Bits.DivideValue1 = (Divisor & 0x3);
736 Dcr.Bits.DivideValue2 = (Divisor >> 2);
745 LvtTimer.Bits.TimerMode = 1;
747 LvtTimer.Bits.TimerMode = 0;
749 LvtTimer.Bits.Mask = 0;
750 LvtTimer.Bits.Vector = Vector;
784 Divisor = Dcr.Bits.DivideValue1 | (Dcr.Bits.DivideValue2 << 2);
792 if (LvtTimer.Bits.TimerMode == 1) {
799 *Vector = (UINT8) LvtTimer.Bits.Vector;
816 LvtTimer.Bits.Mask = 0;
832 LvtTimer.Bits.Mask = 1;
851 return (BOOLEAN)(LvtTimer.Bits.Mask == 0);
885 MsiAddress.Bits.BaseAddress = 0xFEE;
886 MsiAddress.Bits.DestinationId = GetApicId ();
933 MsiData.Bits.Vector = Vector;
934 MsiData.Bits.DeliveryMode = (UINT32)DeliveryMode;
936 MsiData.Bits.TriggerMode = 1;
938 MsiData.Bits.Level = 1;