Apple Desktop Computer manual What Is Different, Interrupt Handling

Page 64

C H A P T E R 5

Software

5.The Forth script transfers control to the Trampoline code, which functions as the transition between Open Firmware and the beginning of the Mac OS execution;

6.The Trampoline code decompresses the ToolBox ROM Image, gathers information about the system from Open Firmware, creates data structures based on this information, terminates Open Firmware, and rearranges the contents of memory to an interim location in physical memory space;

7.The Trampoline code transfers control to the HardwareInit routine in the ToolBox ROM Image;

8.The HardwareInit routine copies data structures to their correct places in memory, and then calls the NanoKernel;

9.The NanoKernel fills in its data structures and then calls the 68K Emulator;

10.The 68K Emulator initializes itself, then transfers control to the startup initialization code;

11.The startup initialization code begins execution, initializing data structures and Managers, and booting the Mac OS.

All functions found in the old ToolBox ROM are present in the NewWorld boot process, but occur at different times and places. To accomplish this, the code in the ToolBox ROM Image and POST is simplified, while the Trampoline code addresses the new functionality.

What Is Different

Even though ROM-in-RAM involves a fundamental change to the construction of the product-specific part of the Mac OS, the changes in the code and its execution are not that large. Many components are in changed locations, but their functions with respect to boot time and run time have not greatly changed. Many Mac OS components remain untouched.

Interrupt Handling

Interrupt handling is very different with the NewWorld approach. The interrupt code has been rewritten to allow for dynamic creation of the interrupt layout. The new code has two features that did not exist in the old code. One is

64What Is Different

Image 64
Contents Apple iMac Computer Page Contents Devices and Ports RAM ExpansionSoftware RtasAppendix Abbreviations Index Rtas NV-RAMFigures and Tables Page Contents of This Note About This Developer NotePowerPC G3 Microprocessor Supplemental Reference DocumentsMac OS ATA DevicesUSB Devices Open FirmwareE F a C E Introduction Features Case and External Features Shows a front view of the computerFront view 2Side view showing I/O bay Compatibility Issues System SoftwareVideo RAM Expansion Modules Main RAM Expansion ModulesUSB Ports and Devices Page Architecture Architecture G3 Microprocessor Processor moduleBackside Cache Memory Controller and PCI Bridge Main Logic BoardController IC Video Display Subsystem USB ControllerBuilt-in Modem Infrared Link Module Devices and Ports USB Connectors USB PortsTransfer Types Supported GNDUSB Compatibility Issues ADB CompatibilitySerial Port Compatibility Macintosh-To-Macintosh ConnectionsUSB Storage Devices USB ControllerKeyboard Keyboard LayoutMouse Keyboard and USBHard Disk Drive Video DisplayInfrared Communication Link Sound SystemSound Inputs Sound OutputsBuilt-in Microphone External Sound InputExternal Sound Output Sound SpecificationsHeadphone Jacks Total harmonic distortion Ethernet Port Internal ModemPage RAM Expansion Expansion Slots Removing the Logic Board AssemblyPlacing the Computer Face Down Removing the bottom cover Unfastening the CablesRAM Expansion 3Logic board assembly handle and retaining screws Removing the Retaining ScrewsRemoving the Logic Board Assembly Removing the EMI ShieldLocations of the Expansion Slots Main RAM Expansion 6Locations of the RAM expansion slotsMechanical Design of RAM SO-DIMMs Electrical Design of RAM SO-DIMMsSdram Devices Configuration of RAM SO-DIMMs RAM SO-DIMM Electrical Limits Address MultiplexingVideo RAM Expansion Page Software Why Make This Change? What Has Changed Features of the New Approach Performance RAM FootprintUser Experience Data Structures and FilesBoot ROM Contents Mac OS ndrv Drivers RtasToolbox Image File Contents Trampoline Code NewWorld Boot ProcessToolBox ROM Image What Is Different Interrupt HandlingOutmoded Resources RAM FootprintNanoKernel Startup Disk Control PanelInterrupt Layout Open Firmware and the Device TreeMachine Identification Software Abbreviations Chrp NMI Page Index Nvram X, Y, Z Allen Watson