mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[HALAPIC] Rename a field for consistency
This commit is contained in:
parent
c5f93c50dd
commit
def2fe5dc3
2 changed files with 5 additions and 5 deletions
|
@ -376,7 +376,7 @@ HalpAllocateSystemInterrupt(
|
||||||
|
|
||||||
/* Setup a redirection entry */
|
/* Setup a redirection entry */
|
||||||
ReDirReg.Vector = Vector;
|
ReDirReg.Vector = Vector;
|
||||||
ReDirReg.DeliveryMode = APIC_MT_LowestPriority;
|
ReDirReg.MessageType = APIC_MT_LowestPriority;
|
||||||
ReDirReg.DestinationMode = APIC_DM_Logical;
|
ReDirReg.DestinationMode = APIC_DM_Logical;
|
||||||
ReDirReg.DeliveryStatus = 0;
|
ReDirReg.DeliveryStatus = 0;
|
||||||
ReDirReg.Polarity = 0;
|
ReDirReg.Polarity = 0;
|
||||||
|
@ -475,7 +475,7 @@ ApicInitializeIOApic(VOID)
|
||||||
|
|
||||||
/* Setup a redirection entry */
|
/* Setup a redirection entry */
|
||||||
ReDirReg.Vector = APIC_FREE_VECTOR;
|
ReDirReg.Vector = APIC_FREE_VECTOR;
|
||||||
ReDirReg.DeliveryMode = APIC_MT_Fixed;
|
ReDirReg.MessageType = APIC_MT_Fixed;
|
||||||
ReDirReg.DestinationMode = APIC_DM_Physical;
|
ReDirReg.DestinationMode = APIC_DM_Physical;
|
||||||
ReDirReg.DeliveryStatus = 0;
|
ReDirReg.DeliveryStatus = 0;
|
||||||
ReDirReg.Polarity = 0;
|
ReDirReg.Polarity = 0;
|
||||||
|
@ -500,7 +500,7 @@ ApicInitializeIOApic(VOID)
|
||||||
|
|
||||||
/* Enable the timer interrupt (but keep it masked) */
|
/* Enable the timer interrupt (but keep it masked) */
|
||||||
ReDirReg.Vector = APIC_CLOCK_VECTOR;
|
ReDirReg.Vector = APIC_CLOCK_VECTOR;
|
||||||
ReDirReg.DeliveryMode = APIC_MT_Fixed;
|
ReDirReg.MessageType = APIC_MT_Fixed;
|
||||||
ReDirReg.DestinationMode = APIC_DM_Physical;
|
ReDirReg.DestinationMode = APIC_DM_Physical;
|
||||||
ReDirReg.TriggerMode = APIC_TGM_Edge;
|
ReDirReg.TriggerMode = APIC_TGM_Edge;
|
||||||
ReDirReg.Mask = 1;
|
ReDirReg.Mask = 1;
|
||||||
|
@ -696,7 +696,7 @@ HalEnableSystemInterrupt(
|
||||||
if (ReDirReg.Vector != Vector)
|
if (ReDirReg.Vector != Vector)
|
||||||
{
|
{
|
||||||
ReDirReg.Vector = Vector;
|
ReDirReg.Vector = Vector;
|
||||||
ReDirReg.DeliveryMode = APIC_MT_LowestPriority;
|
ReDirReg.MessageType = APIC_MT_LowestPriority;
|
||||||
ReDirReg.DestinationMode = APIC_DM_Logical;
|
ReDirReg.DestinationMode = APIC_DM_Logical;
|
||||||
ReDirReg.Destination = 0;
|
ReDirReg.Destination = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -298,7 +298,7 @@ typedef union _IOAPIC_REDIRECTION_REGISTER
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
UINT64 Vector:8;
|
UINT64 Vector:8;
|
||||||
UINT64 DeliveryMode:3;
|
UINT64 MessageType:3;
|
||||||
UINT64 DestinationMode:1;
|
UINT64 DestinationMode:1;
|
||||||
UINT64 DeliveryStatus:1;
|
UINT64 DeliveryStatus:1;
|
||||||
UINT64 Polarity:1;
|
UINT64 Polarity:1;
|
||||||
|
|
Loading…
Reference in a new issue