An Introduction To And History of Darwin
proclus writes "Roberto Donhert of Aqua icon theme fame (screenshot) has written a concise review of Darwin OS. The article covers the origin and evolution of Darwin OS, as well as the
various
Darwin
distributions
that are available for PowerPC and x86 architectures. OSnews has the story. The only thing that I would add is the contributions of Torrey Lyons of
XonX, who created the XDarwin Xserver that made so much of this possible. BTW, Roberto also has a commentary about the SCO situation running at OSnews."
http://www.gnu-darwin.org/packages.shtml
http://www.gnu-darwin.org/x86.shtml
I've written an article which clarifies the relationship of GNU-Darwin to Apple.
http://www.kuro5hin.org/story/2003/1/20/191655/929
Yves de Champlain has also written a very helpful article explaining Apple's relationship to open source and free software.
http://www.osxfaq.com/Editorial/open/index.ws
Regards,
proclus
http://www.gnu-darwin.org/
http://www.osxfaq.com/Editorial/open/
http://www.osxfaq.com/Editorial/open/index2.ws
http://www.osxfaq.com/Editorial/open/index3.ws
http://www.osxfaq.com/Editorial/open/index4.ws
Regards,
proclus
http://www.gnu-darwin.org/
Now, if the system call succeeds, control is returned to the instruction *after* the next instruction (ie. it skips one). If the syscall fails, the instruction is not skipped.
Hmm... that's not very clear. Here's an example:
li r0, [syscall_num]
li r3, [arg1]
li r4, [arg2]
[etc...]
sc
b ERROR
[code for if the syscall succeeds]
b END
ERROR:
[code for if the syscall fails]
END:
If the call succeeds, the branch to ERROR is not executed. To find the syscall number you need, have a look at /usr/include/sys/syscall.h.
GNU-Darwin just happens to be the best-selling UNIX on the market today mostly because of the Mac OS X GUI layer running on top of it.
Actually, that'd be Darwin, not GNU-Darwin.
There are a bunch at IBM's technical library, and also Motorola's tech library. The Linux ABI is well documented, as are the other BSDs, but not Darwin.
Here is one, "PowerPC Microprocessor Family: The Programming Environments for 32-Bit Microprocessors"
Here is one that is PowerPC Linux specific.
God save our Queen, and Heaven bless The Maple Leaf Forever!
The Mach-O (Darwin) ABI is documented in this PDF. Or, have a look at libffi for a working example - it's part of GCC 3, and supports Darwin.
Lost: Sig, white with black letters. No collar. Reward if found!