cvs commit: src/sys/compat/ndis ntoskrnl_var.h subr_ntoskrnl.c
wpaul at FreeBSD.org
Thu Mar 4 15:04:02 PST 2004
wpaul 2004/03/04 15:04:02 PST
FreeBSD src repository
sys/compat/ndis ntoskrnl_var.h subr_ntoskrnl.c
- Some older Atheros drivers want KeInitializeTimer(), so implement it,
along with KeInitializeTimerEx(), KeSetTimer(), KeSetTimerEx(),
KeCancelTimer(), KeReadStateTimer() and KeInitializeDpc(). I don't
know for certain that these will make the Atheros driver happy since
I don't have the card/driver combo needed to test it, but these are
fairly independent so they shouldn't break anything else.
- Debugger() is present even in kernels without options DDB, so no
conditional compilation is necessary (pointed out by bde).
- Remove the extra km_acquirecnt member that I added to struct kmutant
and embed it within an unused portion of the structure instead, so that
we don't make the structure larger than it's defined to be in Windows.
I don't know what crack I was smoking when I decided it was ok to do
this, but it's worn off now.
Revision Changes Path
1.9 +31 -3 src/sys/compat/ndis/ntoskrnl_var.h
1.26 +184 -16 src/sys/compat/ndis/subr_ntoskrnl.c
1.5 +0 -1 src/sys/modules/ndis/Makefile
More information about the cvs-src