- Deprecate STDCALL from HAL

svn path=/trunk/; revision=37755
This commit is contained in:
Stefan Ginsberg 2008-11-29 23:16:39 +00:00
parent f5091d00cd
commit 37ba4af619
18 changed files with 93 additions and 93 deletions

View file

@ -32,7 +32,7 @@
*/
BOOLEAN
STDCALL
NTAPI
HalMakeBeep (
ULONG Frequency
)

View file

@ -250,7 +250,7 @@ HalInitializeDisplay (PROS_LOADER_PARAMETER_BLOCK LoaderBlock)
/* PUBLIC FUNCTIONS *********************************************************/
VOID STDCALL
VOID NTAPI
HalReleaseDisplayOwnership(VOID)
/*
* FUNCTION: Release ownership of display back to HAL
@ -267,7 +267,7 @@ HalReleaseDisplayOwnership(VOID)
}
VOID STDCALL
VOID NTAPI
HalAcquireDisplayOwnership(IN PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParameters)
/*
* FUNCTION:
@ -280,7 +280,7 @@ HalAcquireDisplayOwnership(IN PHAL_RESET_DISPLAY_PARAMETERS ResetDisplayParamete
HalResetDisplayParameters = ResetDisplayParameters;
}
VOID STDCALL
VOID NTAPI
HalDisplayString(IN PCH String)
/*
* FUNCTION: Switches the screen to HAL console mode (BSOD) if not there
@ -350,7 +350,7 @@ HalDisplayString(IN PCH String)
KeLowerIrql(OldIrql);
}
VOID STDCALL
VOID NTAPI
HalQueryDisplayParameters(OUT PULONG DispSizeX,
OUT PULONG DispSizeY,
OUT PULONG CursorPosX,
@ -367,7 +367,7 @@ HalQueryDisplayParameters(OUT PULONG DispSizeX,
}
VOID STDCALL
VOID NTAPI
HalSetDisplayParameters(IN ULONG CursorPosX,
IN ULONG CursorPosY)
{
@ -376,7 +376,7 @@ HalSetDisplayParameters(IN ULONG CursorPosX,
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalQueryDisplayOwnership(VOID)
{
return !HalOwnsDisplay;

View file

@ -164,7 +164,7 @@ HalpInitDma(VOID)
* by the passed DMA adapter.
*/
PHYSICAL_ADDRESS STDCALL
PHYSICAL_ADDRESS NTAPI
HalpGetAdapterMaximumPhysicalAddress(
IN PADAPTER_OBJECT AdapterObject)
{
@ -200,7 +200,7 @@ HalpGetAdapterMaximumPhysicalAddress(
* already allocated).
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
HalpGrowMapBuffers(
IN PADAPTER_OBJECT AdapterObject,
IN ULONG SizeOfMapBuffers)
@ -329,7 +329,7 @@ HalpGrowMapBuffers(
* @see HalpInitDma
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateMasterAdapter(VOID)
{
PADAPTER_OBJECT MasterAdapter;
@ -388,7 +388,7 @@ HalpDmaAllocateMasterAdapter(VOID)
* @see HalGetAdapter
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateChildAdapter(
ULONG NumberOfMapRegisters,
PDEVICE_DESCRIPTION DeviceDescription)
@ -458,7 +458,7 @@ HalpDmaAllocateChildAdapter(
* Setup DMA modes and extended modes for (E)ISA DMA adapter object.
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
HalpDmaInitializeEisaAdapter(
PADAPTER_OBJECT AdapterObject,
PDEVICE_DESCRIPTION DeviceDescription)
@ -588,7 +588,7 @@ HalpDmaInitializeEisaAdapter(
* @implemented
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalGetAdapter(
PDEVICE_DESCRIPTION DeviceDescription,
PULONG NumberOfMapRegisters)
@ -787,7 +787,7 @@ HalGetAdapter(
* @see HalGetAdapter
*/
PDMA_ADAPTER STDCALL
PDMA_ADAPTER NTAPI
HalpGetDmaAdapter(
IN PVOID Context,
IN PDEVICE_DESCRIPTION DeviceDescription,
@ -805,7 +805,7 @@ HalpGetDmaAdapter(
* @see HalGetAdapter
*/
VOID STDCALL
VOID NTAPI
HalPutDmaAdapter(
PADAPTER_OBJECT AdapterObject)
{
@ -846,7 +846,7 @@ HalPutDmaAdapter(
* @implemented
*/
PVOID STDCALL
PVOID NTAPI
HalAllocateCommonBuffer(
PADAPTER_OBJECT AdapterObject,
ULONG Length,
@ -895,7 +895,7 @@ HalAllocateCommonBuffer(
* @implemented
*/
VOID STDCALL
VOID NTAPI
HalFreeCommonBuffer(
PADAPTER_OBJECT AdapterObject,
ULONG Length,
@ -915,7 +915,7 @@ HalFreeCommonBuffer(
* @see HalGetAdapter
*/
ULONG STDCALL
ULONG NTAPI
HalpDmaGetDmaAlignment(
PADAPTER_OBJECT AdapterObject)
{
@ -930,7 +930,7 @@ HalpDmaGetDmaAlignment(
* @implemented
*/
ULONG STDCALL
ULONG NTAPI
HalReadDmaCounter(
PADAPTER_OBJECT AdapterObject)
{
@ -1002,7 +1002,7 @@ HalReadDmaCounter(
* at PASSIVE_LEVEL in work item.
*/
VOID STDCALL
VOID NTAPI
HalpGrowMapBufferWorker(PVOID DeferredContext)
{
PGROW_WORK_ITEM WorkItem = (PGROW_WORK_ITEM)DeferredContext;
@ -1064,7 +1064,7 @@ HalpGrowMapBufferWorker(PVOID DeferredContext)
* @implemented
*/
NTSTATUS STDCALL
NTSTATUS NTAPI
HalAllocateAdapterChannel(
PADAPTER_OBJECT AdapterObject,
PWAIT_CONTEXT_BLOCK WaitContextBlock,
@ -1235,7 +1235,7 @@ HalAllocateAdapterChannel(
* @implemented
*/
VOID STDCALL
VOID NTAPI
IoFreeAdapterChannel(
PADAPTER_OBJECT AdapterObject)
{
@ -1359,7 +1359,7 @@ IoFreeAdapterChannel(
* @implemented
*/
VOID STDCALL
VOID NTAPI
IoFreeMapRegisters(
IN PADAPTER_OBJECT AdapterObject,
IN PVOID MapRegisterBase,
@ -1465,7 +1465,7 @@ IoFreeMapRegisters(
* @see IoFlushAdapterBuffers, IoMapTransfer
*/
VOID STDCALL
VOID NTAPI
HalpCopyBufferMap(
PMDL Mdl,
PROS_MAP_REGISTER_ENTRY MapRegisterBase,
@ -1554,7 +1554,7 @@ HalpCopyBufferMap(
* @unimplemented.
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
IoFlushAdapterBuffers(
PADAPTER_OBJECT AdapterObject,
PMDL Mdl,
@ -1661,7 +1661,7 @@ IoFlushAdapterBuffers(
* @implemented
*/
PHYSICAL_ADDRESS STDCALL
PHYSICAL_ADDRESS NTAPI
IoMapTransfer(
IN PADAPTER_OBJECT AdapterObject,
IN PMDL Mdl,

View file

@ -61,7 +61,7 @@ static ULONG HalpPendingInterruptCount[NR_IRQS];
#else
VOID STDCALL
VOID NTAPI
KiInterruptDispatch2 (ULONG Irq, KIRQL old_level);
#endif
@ -69,7 +69,7 @@ KiInterruptDispatch2 (ULONG Irq, KIRQL old_level);
/* FUNCTIONS ****************************************************************/
#undef KeGetCurrentIrql
KIRQL STDCALL KeGetCurrentIrql (VOID)
KIRQL NTAPI KeGetCurrentIrql (VOID)
/*
* PURPOSE: Returns the current irq level
* RETURNS: The current irq level
@ -277,7 +277,7 @@ KfRaiseIrql (KIRQL NewIrql)
* Calls KfRaiseIrql
*/
KIRQL STDCALL
KIRQL NTAPI
KeRaiseIrqlToDpcLevel (VOID)
{
return KfRaiseIrql (DISPATCH_LEVEL);
@ -301,14 +301,14 @@ KeRaiseIrqlToDpcLevel (VOID)
* Calls KfRaiseIrql
*/
KIRQL STDCALL
KIRQL NTAPI
KeRaiseIrqlToSynchLevel (VOID)
{
return KfRaiseIrql (DISPATCH_LEVEL);
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalBeginSystemInterrupt (KIRQL Irql,
ULONG Vector,
PKIRQL OldIrql)
@ -347,7 +347,7 @@ HalBeginSystemInterrupt (KIRQL Irql,
}
VOID STDCALL HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
VOID NTAPI HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
/*
* FUNCTION: Finish a system interrupt and restore the specified irq level.
*/
@ -357,7 +357,7 @@ VOID STDCALL HalEndSystemInterrupt (KIRQL Irql, ULONG Unknown2)
}
BOOLEAN
STDCALL
NTAPI
HalDisableSystemInterrupt(
ULONG Vector,
KIRQL Irql)
@ -383,7 +383,7 @@ HalDisableSystemInterrupt(
BOOLEAN
STDCALL
NTAPI
HalEnableSystemInterrupt(
ULONG Vector,
KIRQL Irql,

View file

@ -34,7 +34,7 @@ BOOLEAN HalIsaProbe(VOID)
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
ULONG BusNumber,
PHYSICAL_ADDRESS BusAddress,
@ -59,7 +59,7 @@ HalpTranslateIsaBusAddress(PBUS_HANDLER BusHandler,
return Result;
}
ULONG STDCALL
ULONG NTAPI
HalpGetIsaInterruptVector(PVOID BusHandler,
ULONG BusNumber,
ULONG BusInterruptLevel,

View file

@ -193,7 +193,7 @@ __asm__("\t.globl SetPhysByte\n"
"blr"
);
VOID STDCALL
VOID NTAPI
READ_PORT_BUFFER_UCHAR (PUCHAR Port,
PUCHAR Buffer,
ULONG Count)
@ -201,7 +201,7 @@ READ_PORT_BUFFER_UCHAR (PUCHAR Port,
while(Count--) { *Buffer++ = GetPhysByte((ULONG)Port); }
}
VOID STDCALL
VOID NTAPI
READ_PORT_BUFFER_USHORT (PUSHORT Port,
PUSHORT Buffer,
ULONG Count)
@ -209,7 +209,7 @@ READ_PORT_BUFFER_USHORT (PUSHORT Port,
while(Count--) { *Buffer++ = GetPhysWord((ULONG)Port); }
}
VOID STDCALL
VOID NTAPI
READ_PORT_BUFFER_ULONG (PULONG Port,
PULONG Buffer,
ULONG Count)
@ -217,25 +217,25 @@ READ_PORT_BUFFER_ULONG (PULONG Port,
while(Count--) { *Buffer++ = GetPhys((ULONG)Port); }
}
UCHAR STDCALL
UCHAR NTAPI
READ_PORT_UCHAR (PUCHAR Port)
{
return GetPhys((ULONG)Port);
}
USHORT STDCALL
USHORT NTAPI
READ_PORT_USHORT (PUSHORT Port)
{
return GetPhysWord((ULONG)Port);
}
ULONG STDCALL
ULONG NTAPI
READ_PORT_ULONG (PULONG Port)
{
return GetPhys((ULONG)Port);
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_BUFFER_UCHAR (PUCHAR Port,
PUCHAR Buffer,
ULONG Count)
@ -243,7 +243,7 @@ WRITE_PORT_BUFFER_UCHAR (PUCHAR Port,
while(Count--) { SetPhysByte((ULONG)Port, *Buffer++); }
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_BUFFER_USHORT (PUSHORT Port,
PUSHORT Buffer,
ULONG Count)
@ -251,7 +251,7 @@ WRITE_PORT_BUFFER_USHORT (PUSHORT Port,
while(Count--) { SetPhysWord((ULONG)Port, *Buffer++); }
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_BUFFER_ULONG (PULONG Port,
PULONG Buffer,
ULONG Count)
@ -259,21 +259,21 @@ WRITE_PORT_BUFFER_ULONG (PULONG Port,
while(Count--) { SetPhys((ULONG)Port, *Buffer++); }
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_UCHAR (PUCHAR Port,
UCHAR Value)
{
SetPhysByte((ULONG)Port, Value);
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_USHORT (PUSHORT Port,
USHORT Value)
{
SetPhysWord((ULONG)Port, Value);
}
VOID STDCALL
VOID NTAPI
WRITE_PORT_ULONG (PULONG Port,
ULONG Value)
{

View file

@ -22,7 +22,7 @@
#define INITIAL_STALL_COUNT 0x10000
VOID STDCALL
VOID NTAPI
HalInitializeProcessor(ULONG ProcessorNumber,
PLOADER_PARAMETER_BLOCK LoaderBlock)
{
@ -30,7 +30,7 @@ HalInitializeProcessor(ULONG ProcessorNumber,
KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT;
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalAllProcessorsStarted (VOID)
{
DPRINT("HalAllProcessorsStarted()\n");

View file

@ -22,7 +22,7 @@ HalReboot (VOID)
}
VOID STDCALL
VOID NTAPI
HalReturnToFirmware (
FIRMWARE_REENTRY Action
)

View file

@ -367,16 +367,16 @@ typedef struct _GROW_WORK_ITEM {
#define MAP_BASE_SW_SG 1
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateMasterAdapter(VOID);
PDMA_ADAPTER STDCALL
PDMA_ADAPTER NTAPI
HalpGetDmaAdapter(
IN PVOID Context,
IN PDEVICE_DESCRIPTION DeviceDescription,
OUT PULONG NumberOfMapRegisters);
ULONG STDCALL
ULONG NTAPI
HalpDmaGetDmaAlignment(
PADAPTER_OBJECT AdapterObject);

View file

@ -36,7 +36,7 @@
(UCHAR)(((int / 10) << 4) + (int % 10))
/* adapter.c */
PADAPTER_OBJECT STDCALL HalpAllocateAdapterEx(ULONG NumberOfMapRegisters,BOOLEAN IsMaster, BOOLEAN Dma32BitAddresses);
PADAPTER_OBJECT NTAPI HalpAllocateAdapterEx(ULONG NumberOfMapRegisters,BOOLEAN IsMaster, BOOLEAN Dma32BitAddresses);
/* bus.c */
VOID NTAPI HalpInitNonBusHandler (VOID);

View file

@ -164,7 +164,7 @@ HalpInitDma(VOID)
* by the passed DMA adapter.
*/
PHYSICAL_ADDRESS STDCALL
PHYSICAL_ADDRESS NTAPI
HalpGetAdapterMaximumPhysicalAddress(
IN PADAPTER_OBJECT AdapterObject)
{
@ -200,7 +200,7 @@ HalpGetAdapterMaximumPhysicalAddress(
* already allocated).
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
HalpGrowMapBuffers(
IN PADAPTER_OBJECT AdapterObject,
IN ULONG SizeOfMapBuffers)
@ -329,7 +329,7 @@ HalpGrowMapBuffers(
* @see HalpInitDma
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateMasterAdapter(VOID)
{
PADAPTER_OBJECT MasterAdapter;
@ -388,7 +388,7 @@ HalpDmaAllocateMasterAdapter(VOID)
* @see HalGetAdapter
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateChildAdapter(
ULONG NumberOfMapRegisters,
PDEVICE_DESCRIPTION DeviceDescription)
@ -458,7 +458,7 @@ HalpDmaAllocateChildAdapter(
* Setup DMA modes and extended modes for (E)ISA DMA adapter object.
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
HalpDmaInitializeEisaAdapter(
PADAPTER_OBJECT AdapterObject,
PDEVICE_DESCRIPTION DeviceDescription)
@ -588,7 +588,7 @@ HalpDmaInitializeEisaAdapter(
* @implemented
*/
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalGetAdapter(
PDEVICE_DESCRIPTION DeviceDescription,
PULONG NumberOfMapRegisters)
@ -787,7 +787,7 @@ HalGetAdapter(
* @see HalGetAdapter
*/
PDMA_ADAPTER STDCALL
PDMA_ADAPTER NTAPI
HalpGetDmaAdapter(
IN PVOID Context,
IN PDEVICE_DESCRIPTION DeviceDescription,
@ -805,7 +805,7 @@ HalpGetDmaAdapter(
* @see HalGetAdapter
*/
VOID STDCALL
VOID NTAPI
HalPutDmaAdapter(
PADAPTER_OBJECT AdapterObject)
{
@ -846,7 +846,7 @@ HalPutDmaAdapter(
* @implemented
*/
PVOID STDCALL
PVOID NTAPI
HalAllocateCommonBuffer(
PADAPTER_OBJECT AdapterObject,
ULONG Length,
@ -895,7 +895,7 @@ HalAllocateCommonBuffer(
* @implemented
*/
VOID STDCALL
VOID NTAPI
HalFreeCommonBuffer(
PADAPTER_OBJECT AdapterObject,
ULONG Length,
@ -915,7 +915,7 @@ HalFreeCommonBuffer(
* @see HalGetAdapter
*/
ULONG STDCALL
ULONG NTAPI
HalpDmaGetDmaAlignment(
PADAPTER_OBJECT AdapterObject)
{
@ -930,7 +930,7 @@ HalpDmaGetDmaAlignment(
* @implemented
*/
ULONG STDCALL
ULONG NTAPI
HalReadDmaCounter(
PADAPTER_OBJECT AdapterObject)
{
@ -1002,7 +1002,7 @@ HalReadDmaCounter(
* at PASSIVE_LEVEL in work item.
*/
VOID STDCALL
VOID NTAPI
HalpGrowMapBufferWorker(PVOID DeferredContext)
{
PGROW_WORK_ITEM WorkItem = (PGROW_WORK_ITEM)DeferredContext;
@ -1064,7 +1064,7 @@ HalpGrowMapBufferWorker(PVOID DeferredContext)
* @implemented
*/
NTSTATUS STDCALL
NTSTATUS NTAPI
HalAllocateAdapterChannel(
PADAPTER_OBJECT AdapterObject,
PWAIT_CONTEXT_BLOCK WaitContextBlock,
@ -1235,7 +1235,7 @@ HalAllocateAdapterChannel(
* @implemented
*/
VOID STDCALL
VOID NTAPI
IoFreeAdapterChannel(
PADAPTER_OBJECT AdapterObject)
{
@ -1359,7 +1359,7 @@ IoFreeAdapterChannel(
* @implemented
*/
VOID STDCALL
VOID NTAPI
IoFreeMapRegisters(
IN PADAPTER_OBJECT AdapterObject,
IN PVOID MapRegisterBase,
@ -1465,7 +1465,7 @@ IoFreeMapRegisters(
* @see IoFlushAdapterBuffers, IoMapTransfer
*/
VOID STDCALL
VOID NTAPI
HalpCopyBufferMap(
PMDL Mdl,
PROS_MAP_REGISTER_ENTRY MapRegisterBase,
@ -1554,7 +1554,7 @@ HalpCopyBufferMap(
* @unimplemented.
*/
BOOLEAN STDCALL
BOOLEAN NTAPI
IoFlushAdapterBuffers(
PADAPTER_OBJECT AdapterObject,
PMDL Mdl,
@ -1663,7 +1663,7 @@ IoFlushAdapterBuffers(
* @implemented
*/
PHYSICAL_ADDRESS STDCALL
PHYSICAL_ADDRESS NTAPI
IoMapTransfer(
IN PADAPTER_OBJECT AdapterObject,
IN PMDL Mdl,

View file

@ -520,7 +520,7 @@ HalpReleasePciDeviceForDebugging(IN OUT PDEBUG_DEVICE_DESCRIPTOR PciDevice)
return STATUS_NOT_IMPLEMENTED;
}
static ULONG STDCALL
static ULONG NTAPI
PciSize(ULONG Base, ULONG Mask)
{
ULONG Size = Mask & Base; /* Find the significant bits */

View file

@ -367,16 +367,16 @@ typedef struct _GROW_WORK_ITEM {
#define MAP_BASE_SW_SG 1
PADAPTER_OBJECT STDCALL
PADAPTER_OBJECT NTAPI
HalpDmaAllocateMasterAdapter(VOID);
PDMA_ADAPTER STDCALL
PDMA_ADAPTER NTAPI
HalpGetDmaAdapter(
IN PVOID Context,
IN PDEVICE_DESCRIPTION DeviceDescription,
OUT PULONG NumberOfMapRegisters);
ULONG STDCALL
ULONG NTAPI
HalpDmaGetDmaAlignment(
PADAPTER_OBJECT AdapterObject);

View file

@ -30,7 +30,7 @@
(UCHAR)(((int / 10) << 4) + (int % 10))
/* adapter.c */
PADAPTER_OBJECT STDCALL HalpAllocateAdapterEx(ULONG NumberOfMapRegisters,BOOLEAN IsMaster, BOOLEAN Dma32BitAddresses);
PADAPTER_OBJECT NTAPI HalpAllocateAdapterEx(ULONG NumberOfMapRegisters,BOOLEAN IsMaster, BOOLEAN Dma32BitAddresses);
/* bus.c */
VOID NTAPI HalpInitNonBusHandler (VOID);

View file

@ -15,7 +15,7 @@
/* FUNCTIONS ****************************************************************/
VOID STDCALL
VOID NTAPI
HalRequestIpi(KAFFINITY TargetProcessors)
{
/* FIXME: SMP HAL is...very broken */

View file

@ -21,7 +21,7 @@
/* FUNCTIONS ****************************************************************/
#undef KeGetCurrentIrql
KIRQL STDCALL KeGetCurrentIrql (VOID)
KIRQL NTAPI KeGetCurrentIrql (VOID)
/*
* PURPOSE: Returns the current irq level
* RETURNS: The current irq level
@ -160,7 +160,7 @@ KfLowerIrql (KIRQL NewIrql)
* NOTES
*/
#undef KeLowerIrql
VOID STDCALL
VOID NTAPI
KeLowerIrql (KIRQL NewIrql)
{
KfLowerIrql (NewIrql);
@ -234,7 +234,7 @@ KfRaiseIrql (KIRQL NewIrql)
* Calls KfRaiseIrql
*/
#undef KeRaiseIrql
VOID STDCALL
VOID NTAPI
KeRaiseIrql (KIRQL NewIrql,
PKIRQL OldIrql)
{
@ -259,7 +259,7 @@ KeRaiseIrql (KIRQL NewIrql,
* Calls KfRaiseIrql
*/
KIRQL STDCALL
KIRQL NTAPI
KeRaiseIrqlToDpcLevel (VOID)
{
return KfRaiseIrql (DISPATCH_LEVEL);
@ -283,14 +283,14 @@ KeRaiseIrqlToDpcLevel (VOID)
* Calls KfRaiseIrql
*/
KIRQL STDCALL
KIRQL NTAPI
KeRaiseIrqlToSynchLevel (VOID)
{
return KfRaiseIrql (CLOCK2_LEVEL);
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalBeginSystemInterrupt (KIRQL Irql,
ULONG Vector,
PKIRQL OldIrql)
@ -317,7 +317,7 @@ HalBeginSystemInterrupt (KIRQL Irql,
}
VOID STDCALL
VOID NTAPI
HalEndSystemInterrupt (KIRQL Irql,
ULONG Unknown2)
/*
@ -336,7 +336,7 @@ HalEndSystemInterrupt (KIRQL Irql,
HalpLowerIrql (Irql, TRUE);
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalDisableSystemInterrupt (ULONG Vector,
KIRQL Irql)
{
@ -358,7 +358,7 @@ HalDisableSystemInterrupt (ULONG Vector,
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalEnableSystemInterrupt (ULONG Vector,
KIRQL Irql,
KINTERRUPT_MODE InterruptMode)

View file

@ -20,7 +20,7 @@
/* FUNCTIONS *****************************************************************/
VOID STDCALL
VOID NTAPI
HalInitializeProcessor(ULONG ProcessorNumber,
PLOADER_PARAMETER_BLOCK LoaderBlock)
{
@ -55,7 +55,7 @@ HalInitializeProcessor(ULONG ProcessorNumber,
//HalpCalibrateStallExecution();
}
BOOLEAN STDCALL
BOOLEAN NTAPI
HalAllProcessorsStarted (VOID)
{
ULONG CPUs = 0, i;

View file

@ -26,7 +26,7 @@
/* FUNCTIONS ***************************************************************/
#undef KeAcquireSpinLock
VOID STDCALL
VOID NTAPI
KeAcquireSpinLock (
PKSPIN_LOCK SpinLock,
PKIRQL OldIrql
@ -55,7 +55,7 @@ KeAcquireSpinLockRaiseToSynch (
}
#undef KeReleaseSpinLock
VOID STDCALL
VOID NTAPI
KeReleaseSpinLock (
PKSPIN_LOCK SpinLock,
KIRQL NewIrql