Home | History | Annotate | Download | only in BaseXApicX2ApicLib

Lines Matching full:bits

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

84 (((UINTN)ApicBaseMsr.Bits.ApicBaseLow) << 12);
114 ApicBaseMsr.Bits.ApicBaseLow = (UINT32) (BaseAddress >> 12);
115 ApicBaseMsr.Bits.ApicBaseHigh = (UINT32) (RShiftU64((UINT64) BaseAddress, 32));
244 // Save existing contents of ICR high 32 bits
254 } while (IcrLowReg.Bits.DeliveryStatus != 0);
267 } while (IcrLowReg.Bits.DeliveryStatus != 0);
317 ASSERT (ApicBaseMsr.Bits.En != 0);
318 if (ApicBaseMsr.Bits.Extd != 0) {
359 ApicBaseMsr.Bits.Extd = 1;
373 ApicBaseMsr.Bits.Extd = 0;
374 ApicBaseMsr.Bits.En = 0;
376 ApicBaseMsr.Bits.En = 1;
481 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
482 IcrLow.Bits.Level = 1;
483 IcrLow.Bits.Vector = Vector;
503 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
504 IcrLow.Bits.Level = 1;
505 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
506 IcrLow.Bits.Vector = Vector;
526 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI;
527 IcrLow.Bits.Level = 1;
545 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_SMI;
546 IcrLow.Bits.Level = 1;
547 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
567 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT;
568 IcrLow.Bits.Level = 1;
586 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_INIT;
587 IcrLow.Bits.Level = 1;
588 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
619 IcrLow.Bits
620 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP;
621 IcrLow.Bits.Level = 1;
652 IcrLow.Bits.Vector = (StartupRoutine >> 12);
653 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_STARTUP;
654 IcrLow.Bits.Level = 1;
655 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
682 if (Svr.Bits.SoftwareEnable == 0) {
683 Svr.Bits.SoftwareEnable = 1;
687 if (Svr.Bits.SoftwareEnable == 1) {
688 Svr.Bits.SoftwareEnable = 0;
715 Svr.Bits.SpuriousVector = 0xf;
716 Svr.Bits.SoftwareEnable = 1;
723 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_EXTINT;
724 Lint.Bits.InputPinPolarity = 0;
725 Lint.Bits.TriggerMode = 0;
726 Lint.Bits.Mask = 0;
733 Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_NMI;
734 Lint.Bits.InputPinPolarity = 0;
735 Lint.Bits.TriggerMode = 0;
736 Lint.Bits.Mask = 0;
754 LvtLint.Bits.Mask = 1;
758 LvtLint.Bits.Mask = 1;
830 Dcr.Bits.DivideValue1 = (Divisor & 0x3);
831 Dcr.Bits.DivideValue2 = (Divisor >> 2);
840 LvtTimer.Bits.TimerMode = 1;
842 LvtTimer.Bits.TimerMode = 0;
844 LvtTimer.Bits.Mask = 0;
845 LvtTimer.Bits.Vector = Vector;
879 Divisor = Dcr.Bits.DivideValue1 | (Dcr.Bits.DivideValue2 << 2);
887 if (LvtTimer.Bits.TimerMode == 1) {
894 *Vector = (UINT8) LvtTimer.Bits.Vector;
911 LvtTimer.Bits.Mask = 0;
927 LvtTimer.Bits.Mask = 1;
946 return (BOOLEAN)(LvtTimer.Bits.Mask == 0);
980 MsiAddress.Bits.BaseAddress = 0xFEE;
981 MsiAddress.Bits.DestinationId = GetApicId ();
1028 MsiData.Bits.Vector = Vector;
1029 MsiData.Bits.DeliveryMode = (UINT32)DeliveryMode;
1031 MsiData.Bits.TriggerMode = 1;
1033 MsiData.Bits.Level = 1;