admin
base
basedrv
boot
busdrv
cluster
cmd
crts
ddk
dload
dloadhandler
efiutil
eventlog
firmware
fs
fsrec
hals
headless
inc
mspatch
mvdm
ntdll
ntdllsym
ntos
arb
cache
config
dbgk
ex
fsrtl
fstub
inc
init
io
kd64
ke
alpha
amd64
axp64
i386
ia64
alignem.c
allproc.c
apcint.s
apcuser.c
callback.c
callout.s
clock.c
context.c
ctxswap.s
debugctx.s
em_prototypes.h
em_support.h
em_types.h
emfloat.h
exceptn.c
fedefs.h
fehelper.c
fehelper.h
feinstr.c
feinstr.h
feproto.h
fepublic.h
festate.c
festate.h
fesupprt.c
fesupprt.h
fetypes.h
floatem.c
floatem.h
flush.c
flush2.c
flushtb.c
fpmisc.s
fpswa.h
genbld.cmd
genia64.m4
getsetrg.c
ia32def.h
ia32emul.c
ia32trap.c
iafptrap.c
initkr.c
intobj.c
intsup.s
intsupc.c
irql.s
irql2.s
ivtlog.s
ktrace.c
ktrace.h
ktracep.h
miscs.s
mpipi.c
mpipis.s
ntfpia64.h
processr.s
qlock.c
region.c
services.stb
sources
spinlock.s
start.s
table.stb
tb.s
threadbg.s
thredini.c
timindex.s
trap.s
trapc.c
zeropag.s
mp
pae
paemp
tests
up
aligntrk.c
apcobj.c
apcsup.c
balmgr.c
bugcheck.c
channel.c
config.c
debug.c
devquobj.c
dirs
dpcobj.c
dpcsup.c
eventobj.c
genxx.h
genxx.inc
interobj.c
kernldat.c
kevutil.c
ki.h
kiinit.c
miscc.c
mutntobj.c
procobj.c
profobj.c
queueobj.c
raisexcp.c
semphobj.c
services.tab
sources.inc
thredobj.c
thredsup.c
timerobj.c
timersup.c
wait.c
waitsup.c
xipi.c
yield.c
lpc
mm
nls
ntsym
ob
perf
po
ps
raw
rtl
se
vdm
verifier
wmi
dirs
makefil0
ntoskrnl.inc
project.mk
wdm.mng
ntsetup
pnp
published
qfe
remoteboot
screg
seaudit
strsafe
stublibs
subsys
testlockout
tools
urtl
wdmdrv
wdmlib
win32
wmi
wow64
xip
zlib
dirs
prerelease.inc
project.mk
com
developer
drivers
ds
enduser
inetcore
inetsrv
loc
mergedcomponents
multimedia
net
printscan
public
published
sdktools
shell
termsrv
tools
windows
dirs
makefil0
57 lines
844 B
ArmAsm
57 lines
844 B
ArmAsm
// TITLE("Get Interrupt Request Level")
|
||
//++
|
||
//
|
||
// Module Name:
|
||
//
|
||
// irql2.s
|
||
//
|
||
// Abstract:
|
||
//
|
||
// This module implements the code to read the tpr register and convert
|
||
// the result to Interrupt Request Level (IRQL).
|
||
//
|
||
//
|
||
// Author:
|
||
//
|
||
// William K. Cheung (wcheung)
|
||
//
|
||
// Environment:
|
||
//
|
||
// Kernel mode only.
|
||
//
|
||
// Revision History:
|
||
//
|
||
//--
|
||
|
||
#include "ksia64.h"
|
||
|
||
.file "irql2.s"
|
||
|
||
//++
|
||
//
|
||
// KIRQL
|
||
// KeGetCurrentIrql(
|
||
// VOID
|
||
// )
|
||
//
|
||
// Routine Description:
|
||
//
|
||
// This function returns the current irql of the processor.
|
||
//
|
||
// Arguments:
|
||
//
|
||
// None.
|
||
//
|
||
// Return Value:
|
||
//
|
||
// Current processor irql.
|
||
//
|
||
//--
|
||
|
||
LEAF_ENTRY(KeGetCurrentIrql)
|
||
|
||
GET_IRQL(v0)
|
||
|
||
LEAF_RETURN
|
||
LEAF_EXIT(KeGetCurrentIrql)
|