freebsd-skq/sys/compat/ndis
Bill Paul 09bebfadee - Add pe_get_message() and pe_get_messagetable() for processing
the RT_MESSAGETABLE resources that some driver binaries have.
  This allows us to print error messages in ndis_syslog().

- Correct the implementation of InterlockedIncrement() and
  InterlockedDecrement() -- they return uint32_t, not void.

- Correct the declarations of the 64-bit arithmetic shift
  routines in subr_ntoskrnl.c (_allshr, allshl, etc...). These
  do not follow the _stdcall convention: instead, they appear
  to be __attribute__((regparm(3)).

- Change the implementation of KeInitializeSpinLock(). There is
  no complementary KeFreeSpinLock() function, so creating a new
  mutex on each call to KeInitializeSpinLock() leaks resources
  when a driver is unloaded. For now, KeInitializeSpinLock()
  returns a handle to the ntoskrnl interlock mutex.

- Use a driver's MiniportDisableInterrupt() and MiniportEnableInterrupt()
  routines if they exist. I'm not sure if I'm doing this right
  yet, but at the very least this shouldn't break any currently
  working drivers, and it makes the Intel PRO/1000 driver work.

- In ndis_register_intr(), save some state that might be needed
  later, and save a pointer to the driver's interrupt structure
  in the ndis_miniport_block.

- Save a pointer to the driver image for use by ndis_syslog()
  when it calls pe_get_message().
2004-01-06 07:09:26 +00:00
..
cfg_var.h Deal with the duplicate sysctl leaf problem. A .inf file may contain 2003-12-18 03:51:21 +00:00
hal_var.h
kern_ndis.c - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00
ndis_var.h - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00
ntoskrnl_var.h Re-do the handling of ndis_buffers. The NDIS_BUFFER structure is 2003-12-23 04:08:22 +00:00
pe_var.h - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00
resource_var.h
subr_hal.c subr_hal.c: implement WRITE_PORT_BUFFER_xxx() and READ_PORT_BUFFER_xxx() 2004-01-03 09:20:48 +00:00
subr_ndis.c - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00
subr_ntoskrnl.c - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00
subr_pe.c - Add pe_get_message() and pe_get_messagetable() for processing 2004-01-06 07:09:26 +00:00