Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 18:18:12 +0000 (UTC)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis hal_var.h kern_ndis.c ndis_var.h ntoskrnl_var.h pe_var.h subr_hal.c subr_ndis.c subr_ntoskrnl.c src/sys/dev/if_ndis if_ndis.c
Message-ID:  <200501241818.j0OIIC2j065751@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2005-01-24 18:18:12 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      hal_var.h kern_ndis.c ndis_var.h 
                         ntoskrnl_var.h pe_var.h subr_hal.c 
                         subr_ndis.c subr_ntoskrnl.c 
    sys/dev/if_ndis      if_ndis.c 
  Log:
  Begin the first phase of trying to add IRP support (and ultimately
  USB device support):
  
  - Convert all of my locally chosen function names to their actual
    Windows equivalents, where applicable. This is a big no-op change
    since it doesn't affect functionality, but it helps avoid a bit
    of confusion (it's now a lot easier to see which functions are
    emulated Windows API routines and which are just locally defined).
  
  - Turn ndis_buffer into an mdl, like it should have been. The structure
    is the same, but now it belongs to the subr_ntoskrnl module.
  
  - Implement a bunch of MDL handling macros from Windows and use them where
    applicable.
  
  - Correct the implementation of IoFreeMdl().
  
  - Properly implement IoAllocateMdl() and MmBuildMdlForNonPagedPool().
  
  - Add the definitions for struct irp and struct driver_object.
  
  - Add IMPORT_FUNC() and IMPORT_FUNC_MAP() macros to make formatting
    the module function tables a little cleaner. (Should also help
    with AMD64 support later on.)
  
  - Fix if_ndis.c to use KeRaiseIrql() and KeLowerIrql() instead of
    the previous calls to hal_raise_irql() and hal_lower_irql() which
    have been renamed.
  
  The function renaming generated a lot of churn here, but there should
  be very little operational effect.
  
  Revision  Changes    Path
  1.6       +5 -5      src/sys/compat/ndis/hal_var.h
  1.63      +19 -19    src/sys/compat/ndis/kern_ndis.c
  1.31      +2 -0      src/sys/compat/ndis/ndis_var.h
  1.20      +504 -34   src/sys/compat/ndis/ntoskrnl_var.h
  1.10      +4 -0      src/sys/compat/ndis/pe_var.h
  1.16      +60 -62    src/sys/compat/ndis/subr_hal.c
  1.71      +439 -431  src/sys/compat/ndis/subr_ndis.c
  1.47      +309 -271  src/sys/compat/ndis/subr_ntoskrnl.c
  1.76      +2 -2      src/sys/dev/if_ndis/if_ndis.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501241818.j0OIIC2j065751>