Re: Mac osX drivers
On Mon, 2008-03-24 at 13:49 -0700, Chuck Swiger wrote: > On Mar 24, 2008, at 1:19 PM, David Kelly wrote: > > On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote: > >> I know I keep asking about drivers, but what about Mac drivers? I > >> understand that Mac osX is based fairly well on BSD, so would the > >> drivers be portable? > > > > Drivers for doing what? > > > >> This is all on a current project I'm working on... > > > > Go study the available Darwin code from > > http://www.opensource.apple.com/darwinsource/ > > This is good advice, but if you check this link and actually look at > the OSX drivers under there, you'll discover that they are generally > written in C++ using something called the I/O Kit, documented here: > > http://developer.apple.com/reference/HardwareDrivers/ > http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals > > > I believe you will discover many of the drivers in MacOS X came from > > FreeBSD. > > Not really, no. The OS X drivers originated from the Mach project at > CMU and NeXT Computer back in the early 90's [1], with a significant > rewrite by Apple after they acquired NeXT circa 1998 to add numerous > drivers to support Apple's hardware in particular. > Thanks for the info guys- looks like I have to keep looking for a different solution. I do have another question but I will ask this in another thread. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mac osX drivers
On Mar 24, 2008, at 1:19 PM, David Kelly wrote: On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote: I know I keep asking about drivers, but what about Mac drivers? I understand that Mac osX is based fairly well on BSD, so would the drivers be portable? Drivers for doing what? This is all on a current project I'm working on... Go study the available Darwin code from http://www.opensource.apple.com/darwinsource/ This is good advice, but if you check this link and actually look at the OSX drivers under there, you'll discover that they are generally written in C++ using something called the I/O Kit, documented here: http://developer.apple.com/reference/HardwareDrivers/ http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals I believe you will discover many of the drivers in MacOS X came from FreeBSD. Not really, no. The OS X drivers originated from the Mach project at CMU and NeXT Computer back in the early 90's [1], with a significant rewrite by Apple after they acquired NeXT circa 1998 to add numerous drivers to support Apple's hardware in particular. -- -Chuck [1]: NeXT started in the late 80's (1987 or so), but the driver source code actually in use in OSX now had some origins back to 1994 or so, and almost all of it was updated significantly around 1998-2000 (aka Rhapsody through 10.1 or so timeframe), with smaller changes being made since... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mac osX drivers
On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote: > I know I keep asking about drivers, but what about Mac drivers? I > understand that Mac osX is based fairly well on BSD, so would the > drivers be portable? Drivers for doing what? > This is all on a current project I'm working on... Go study the available Darwin code from http://www.opensource.apple.com/darwinsource/ I believe you will discover many of the drivers in MacOS X came from FreeBSD. That doesn't mean changes were not needed, it means the developers thought it easier to make the changes rather than write from scratch. Many of the key developers came from FreeBSD. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Mac osX drivers
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Da Rock > Sent: Sunday, March 23, 2008 8:26 PM > To: freebsd-questions@freebsd.org > Subject: Mac osX drivers > > > I know I keep asking about drivers, but what about Mac drivers? I > understand that Mac osX is based fairly well on BSD, so would the > drivers be portable? > MacOS X itself is not portable, it only runs on Apple hardware, for which it contains all needed drivers. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mac osX drivers
Hi Mac OS X uses a different driver model, I/O kit. It's based on the XNU kernel (BSD/Mach). http://www.kernelthread.com/mac/osx/arch_xnu.html Cheers, Oliver Da Rock <[EMAIL PROTECTED]> wrote: > I know I keep asking about drivers, but what about Mac drivers? I > understand that Mac osX is based fairly well on BSD, so would the > drivers be portable? > > This is all on a current project I'm working on... > > Cheers > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Old men are fond of giving good advice to console themselves for their inability to set a bad example. -- La Rochefoucauld, "Maxims" pgp13pVVhPG7f.pgp Description: PGP signature
Re: Mac osX drivers
> I know I keep asking about drivers, but what about Mac drivers? I > understand that Mac osX is based fairly well on BSD, so would the > drivers be portable? Last I heard, MacOs X userland was based on FreeBSD but the MacOS X kernel was Mach. The part of a driver that deals with the hardware might be portable, but it doesn't seem so likely for the part that deals with the OS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mac osX drivers
I know I keep asking about drivers, but what about Mac drivers? I understand that Mac osX is based fairly well on BSD, so would the drivers be portable? This is all on a current project I'm working on... Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"