Mac OS nanokernel

Mac OS nanokernel

Before Mac OS X, PowerPC versions of the Mac OS were based on a nanokernel, or extremely simple operating system kernel. The initial revision of this software is an extremely simple, single tasking system which delegates most tasks to an emulator running the Motorola 68K version of the operating system. The second major revision supports multitasking, multiprocessing, and message passing, and would be more properly called a microkernel. Unlike the 68K-derived Mac OS kernel running within it, the PowerPC kernel exists in a protected memory space and executes device drivers in user mode. The nanokernel is completely different from the Copland OS microkernel, although they were created in succession with similar goals.

System 7.1.2—Mac OS 8.5.1

The original nanokernel, and the tightly integrated Mac 68K emulator, were written by emulation consultant Gary Davidian. Its main purpose was to allow the existing Motorola 68K version of the operating system to run on new hardware. As such, the "normal" state of the system was to be running 68K code. The operating system did little until activated by an interrupt, which would be quickly mapped to its 68K equivalent within the virtual machine.

Other tasks may include switching back to PowerPC mode, if necessary, upon completion of the interrupt handler, and mapping the Macintosh virtual memory system to the PowerPC hardware. However, as the software is little documented, these might instead be handled by the emulator running in user mode.

This nanokernel was stored on the Mac OS ROM chip integrated into Old World ROM computers, or inside the Mac OS ROM file on disk on the New World ROM computers, rather than being installed in the familiar sense.

Interim development

Progress after 1994 demanded additional functionality. A forward-looking architecture was introduced for PCI card drivers in anticipation of Copland OS, which supported memory protection. The Open Transport networking architecture introduced standardized PowerPC synchronization primitives. The DayStar Digital Genesis MP Macintosh clone required kernel extensions to support multiprocessing. This evolution would later affect the overhaul to the nanokernel in Mac OS 8.6.

Mac OS 8.6 and later

Mac OS 8.6's nanokernel was rewritten by René A. Vega to add Multiprocessing Services 2.0 support. PowerMacInfo is an application that can display various info about this nanokernel.

References

* [http://developer.apple.com/documentation/mac/PPCSoftware/PPCSoftware-12.html#HEADING12-0 Inside Macintosh: PowerPC System Software]
* [http://groups.google.ca/group/comp.sys.mac.programmer.help/browse_frm/thread/dcd2be8c07663aa8/e85a0fbc3072abb9?lnk=st&q=Gary+nanokernel&rnum=2&hl=en#e85a0fbc3072abb9]
* [http://groups.google.ca/group/comp.sys.mac.programmer.help/browse_frm/thread/b4ed22b933444c67/7aa9eef71c1f3ca1?lnk=st&q=Gary+nanokernel&rnum=1&hl=en#7aa9eef71c1f3ca1]
* [http://developer.apple.com/technotes/tn/tn1084.html TN1084: Running CFM-68K Code at Interrupt Time: Is Your Code at Risk?]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Mac OS 8 — Infobox OS version name = Mac OS 8 caption = Screenshot of Mac OS 8.1 developer = Apple Computer family = Classic Mac OS source model = Closed source ui = Apple platinum working state = Historic, not supported first release date = July 26 1997… …   Wikipedia

  • Mac 68K emulator — The Mac 68K emulator was a software emulator built into all versions of the Mac OS for PowerPC. This emulator permitted the running of applications and system code that were originally written for the 680x0 based Macintosh models. The emulator… …   Wikipedia

  • Mac OS (bis 9) — Mac OS ist ein von Apple seit 1982 entwickeltes und seit 1984 vertriebenes Betriebssystem für den Apple Macintosh. Es war nach Xerox Star und Lisa OS das dritte kommerziell vertriebene Betriebssystem, das eine graphische Benutzeroberfläche und… …   Deutsch Wikipedia

  • Mac OS Classic — Mac OS ist ein von Apple seit 1982 entwickeltes und seit 1984 vertriebenes Betriebssystem für den Apple Macintosh. Es war nach Xerox Star und Apple Lisa das dritte kommerziell vertriebene Betriebssystem, das eine graphische Benutzeroberfläche und …   Deutsch Wikipedia

  • Mac OS — MacOS redirects here. For the American humanities teaching program, see Man: A Course of Study. Mac OS Company / developer Apple OS family Mac OS (System 1–7, Mac OS 8–9) …   Wikipedia

  • Mac OS X — OSX redirects here. For other uses, see OSX (disambiguation). Mac OS X …   Wikipedia

  • Mac OS 9 — Infobox OS version name = Mac OS 9 caption = Screenshot of Mac OS 9 developer = Apple Computer Inc. family = Mac OS Classic source model = Closed source first release date = October 23 1999 working state = Obsolete/Historic/Legacy release version …   Wikipedia

  • History of Mac OS — On January 24, 1984, Apple Computer, Inc. (now Apple Inc.) introduced the Apple Macintosh personal computer, with the Macintosh 128K model, which came bundled with the Mac OS operating system, then known as the System Software .Fact|date=April… …   Wikipedia

  • Apple Power Mac — Power Macintosh oder auch Power Mac ist der Produktname für die Macintosh Modelle der Firma Apple mit PowerPC Prozessor. Die vorher nur umgangssprachlich benutzte Bezeichnung „Power Mac“ wird von Apple seit den G4 Modellen offiziell verwendet,… …   Deutsch Wikipedia

  • Apple Power Mac G4 — Power Macintosh oder auch Power Mac ist der Produktname für die Macintosh Modelle der Firma Apple mit PowerPC Prozessor. Die vorher nur umgangssprachlich benutzte Bezeichnung „Power Mac“ wird von Apple seit den G4 Modellen offiziell verwendet,… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”