Re: Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
Re: Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
- Subject: Re: Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
- From: Andrew Gallatin <email@hidden>
- Date: Mon, 15 Dec 2008 16:03:12 -0500
Amanda Walker wrote:
On Dec 15, 2008, at 10:03 AM, Andrew Gallatin wrote:
Before these obfuscations, I
wrote a device driver for an HPC interconnect which does ethernet
emulation (really encapsulation) which shared the ethernet driver
transmit and receive code between FreeBSD, MacOSX, and Tru64.
Interesting. I'd be curious about how extensive the changes were to use
through the KPIs introduced in Darwin 8. I haven't had to do that
conversion, but just looking at kpi_interface.h, it appears as though
the changes would be pretty minimal (ifnet_t and its accessors and
mutators strike me as more ecapsulation than obfuscation).
The shims for the mbuf accessor functions were no big deal, I still
use them in current products that support 10.3.
My memory is a bit hazy, but I seem to remember having problems
creating an ifnet and hooking it into the system in 10.4 and
higher. I don't remember exactly what was the problem, but at
that point we were working on a new product which wouldn't support
Tru64, so the opportunities for code sharing were diminished.
So I just decided to write a "normal" IOEthernet derived driver for
the next generation HPC software.
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden