PcAtChipsetPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the PcAtChipsetPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
ac0a286f4d
commit
5220bd211d
@@ -86,7 +86,7 @@ IoApicEnableInterrupt (
|
||||
ASSERT (Irq <= Version.Bits.MaximumRedirectionEntry);
|
||||
|
||||
Entry.Uint32.Low = IoApicRead (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2);
|
||||
Entry.Bits.Mask = Enable ? 0 : 1;
|
||||
Entry.Bits.Mask = Enable ? 0 : 1;
|
||||
IoApicWrite (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2, Entry.Uint32.Low);
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ IoApicConfigureInterrupt (
|
||||
ASSERT (Vector <= 0xFF);
|
||||
ASSERT (DeliveryMode < 8 && DeliveryMode != 6 && DeliveryMode != 3);
|
||||
|
||||
Entry.Uint32.Low = IoApicRead (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2);
|
||||
Entry.Uint32.Low = IoApicRead (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2);
|
||||
Entry.Bits.Vector = (UINT8)Vector;
|
||||
Entry.Bits.DeliveryMode = (UINT32)DeliveryMode;
|
||||
Entry.Bits.DestinationMode = 0;
|
||||
@@ -146,7 +146,7 @@ IoApicConfigureInterrupt (
|
||||
Entry.Bits.Mask = 1;
|
||||
IoApicWrite (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2, Entry.Uint32.Low);
|
||||
|
||||
Entry.Uint32.High = IoApicRead (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2 + 1);
|
||||
Entry.Uint32.High = IoApicRead (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2 + 1);
|
||||
Entry.Bits.DestinationID = GetApicId ();
|
||||
IoApicWrite (IO_APIC_REDIRECTION_TABLE_ENTRY_INDEX + Irq * 2 + 1, Entry.Uint32.High);
|
||||
}
|
||||
|
Reference in New Issue
Block a user