mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
-HalRequestSoftwareInterrupt impl. (does nothing yet)
svn path=/trunk/; revision=6717
This commit is contained in:
@@ -86,6 +86,7 @@ KeStallExecutionProcessor@4
|
||||
@KfLowerIrql@4
|
||||
@KfRaiseIrql@4
|
||||
@KfReleaseSpinLock@8
|
||||
@HalRequestSoftwareInterrupt@4
|
||||
READ_PORT_BUFFER_UCHAR@12
|
||||
READ_PORT_BUFFER_ULONG@12
|
||||
READ_PORT_BUFFER_USHORT@12
|
||||
|
||||
@@ -86,6 +86,7 @@ KfAcquireSpinLock=@KfAcquireSpinLock@4
|
||||
KfLowerIrql=@KfLowerIrql@4
|
||||
KfRaiseIrql=@KfRaiseIrql@4
|
||||
KfReleaseSpinLock=@KfReleaseSpinLock@8
|
||||
HalRequestSoftwareInterrupt=@HalRequestSoftwareInterrupt@4
|
||||
READ_PORT_BUFFER_UCHAR=READ_PORT_BUFFER_UCHAR@12
|
||||
READ_PORT_BUFFER_ULONG=READ_PORT_BUFFER_ULONG@12
|
||||
READ_PORT_BUFFER_USHORT=READ_PORT_BUFFER_USHORT@12
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: irql.c,v 1.12 2003/11/05 22:37:42 gvg Exp $
|
||||
/* $Id: irql.c,v 1.13 2003/11/19 21:04:10 gdalsnes Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -26,6 +26,8 @@
|
||||
* PURPOSE: Current irq level
|
||||
*/
|
||||
static KIRQL CurrentIrql = HIGH_LEVEL;
|
||||
static BOOLEAN ApcRequested = FALSE;
|
||||
static BOOLEAN DpcRequested = FALSE;
|
||||
|
||||
typedef union
|
||||
{
|
||||
@@ -442,4 +444,24 @@ BOOLEAN STDCALL HalEnableSystemInterrupt (ULONG Vector,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
VOID FASTCALL
|
||||
HalRequestSoftwareInterrupt(
|
||||
IN KIRQL Request)
|
||||
{
|
||||
switch (Request)
|
||||
{
|
||||
case APC_LEVEL:
|
||||
ApcRequested = TRUE;
|
||||
break;
|
||||
|
||||
case DISPATCH_LEVEL:
|
||||
DpcRequested = TRUE;
|
||||
break;
|
||||
|
||||
default:
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user