mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[HALAPIC] Rename a field for consistency
This commit is contained in:
@@ -376,7 +376,7 @@ HalpAllocateSystemInterrupt(
|
||||
|
||||
/* Setup a redirection entry */
|
||||
ReDirReg.Vector = Vector;
|
||||
ReDirReg.DeliveryMode = APIC_MT_LowestPriority;
|
||||
ReDirReg.MessageType = APIC_MT_LowestPriority;
|
||||
ReDirReg.DestinationMode = APIC_DM_Logical;
|
||||
ReDirReg.DeliveryStatus = 0;
|
||||
ReDirReg.Polarity = 0;
|
||||
@@ -475,7 +475,7 @@ ApicInitializeIOApic(VOID)
|
||||
|
||||
/* Setup a redirection entry */
|
||||
ReDirReg.Vector = APIC_FREE_VECTOR;
|
||||
ReDirReg.DeliveryMode = APIC_MT_Fixed;
|
||||
ReDirReg.MessageType = APIC_MT_Fixed;
|
||||
ReDirReg.DestinationMode = APIC_DM_Physical;
|
||||
ReDirReg.DeliveryStatus = 0;
|
||||
ReDirReg.Polarity = 0;
|
||||
@@ -500,7 +500,7 @@ ApicInitializeIOApic(VOID)
|
||||
|
||||
/* Enable the timer interrupt (but keep it masked) */
|
||||
ReDirReg.Vector = APIC_CLOCK_VECTOR;
|
||||
ReDirReg.DeliveryMode = APIC_MT_Fixed;
|
||||
ReDirReg.MessageType = APIC_MT_Fixed;
|
||||
ReDirReg.DestinationMode = APIC_DM_Physical;
|
||||
ReDirReg.TriggerMode = APIC_TGM_Edge;
|
||||
ReDirReg.Mask = 1;
|
||||
@@ -696,7 +696,7 @@ HalEnableSystemInterrupt(
|
||||
if (ReDirReg.Vector != Vector)
|
||||
{
|
||||
ReDirReg.Vector = Vector;
|
||||
ReDirReg.DeliveryMode = APIC_MT_LowestPriority;
|
||||
ReDirReg.MessageType = APIC_MT_LowestPriority;
|
||||
ReDirReg.DestinationMode = APIC_DM_Logical;
|
||||
ReDirReg.Destination = 0;
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ typedef union _IOAPIC_REDIRECTION_REGISTER
|
||||
struct
|
||||
{
|
||||
UINT64 Vector:8;
|
||||
UINT64 DeliveryMode:3;
|
||||
UINT64 MessageType:3;
|
||||
UINT64 DestinationMode:1;
|
||||
UINT64 DeliveryStatus:1;
|
||||
UINT64 Polarity:1;
|
||||
|
||||
Reference in New Issue
Block a user