Barry deFreese, le Wed 16 Jul 2008 23:09:04 -0400, a écrit : > device_reference was renamed to mach_device_reference quite a while back > and device_deallocate was renamed to mach_device_deallocate. > > However, ds_routines.c still define device_reference and > device_deallocate and kern/ipc_mig.c still calls them. > > As far as I can tell kern/ipc_mig.c is the only code that still > references.
Yes and no, see the comment: `This is an inline version of dev_port_lookup().' and dev_port_lookup does the same things as device_reference() from ds_routines.c. So I think it should remain as is. Samuel