PERFORCE change 142909 for review
Paolo Pisati
piso at FreeBSD.org
Wed Jun 4 20:23:26 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=142909
Change 142909 by piso at piso_newluxor on 2008/06/04 20:22:27
Revert back to HEAD version.
Affected files ...
.. //depot/projects/soc2005/libalias/sys/compat/ndis/subr_ntoskrnl.c#7 edit
Differences ...
==== //depot/projects/soc2005/libalias/sys/compat/ndis/subr_ntoskrnl.c#7 (text+ko) ====
@@ -3261,34 +3261,6 @@
return(STATUS_SUCCESS);
}
-static ndis_status
-IoGetDeviceObjectPointer(name, desiredaccess, fileobj, devobj)
- unicode_string *name;
- uint32_t desiredaccess;
- void *fileobj;
- device_object *devobj;
-{
- devobj = NULL;
- fileobj = NULL;
- mtx_lock(&ntoskrnl_dispatchlock);
- /*
- nt_list_for_each_entry(coh, &object_list, list) {
- TRACE5("header: %p, type: %d", coh, coh->type);
- if (coh->type != OBJECT_TYPE_DEVICE)
- continue;
- if (!RtlCompareUnicodeString(&coh->name, name, TRUE)) {
- dev_obj = HEADER_TO_OBJECT(coh);
- TRACE5("dev_obj: %p", dev_obj);
- break;
- }
- } */
- mtx_unlock(&ntoskrnl_dispatchlock);
- if (devobj)
- return(STATUS_SUCCESS);
- else
- return(STATUS_OBJECT_NAME_INVALID);
-}
-
static void
KeInitializeMutex(kmutex, level)
kmutant *kmutex;
More information about the p4-projects
mailing list