Apple Desktop Computer manual Outmoded Resources, RAM Footprint

Page 65

C H A P T E R 5

Software

that interrupt latency has been reduced to such an extent as to make it negligible. The other is that the interrupt handling code no longer requires changes to support a new machine, unless it has new interrupt controller hardware. The description of the interrupt layout is now part of an Open Firmware interrupt tree that is interlaced within the Open Firmware device tree. The Trampoline code uses this interrupt tree to build the Mac OS native interrupt tree.

Outmoded Resources

Prior to NewWorld, many resources in the ROM exist in the System Folder as well, often as replacements that fix or enhance those in the ROM, but sometimes because the ROM resources have not yet been removed from the ROM. With the NewWorld approach, any resources that are not needed early in the boot sequence are no longer in the ToolBox ROM Image, and only the resources from the System Folder are in use.

RAM Footprint

NewWorld puts the ToolBox ROM Image in RAM, and marks it read-only. Although the image is 4 megabytes in size, not all of it is in use. The portion that is not used is returned to Mac OS for use as part of system RAM. At the time this document was written, less than 3 megabytes of the 4 megabyte ToolBox ROM Image are in use, allowing more than 1 megabyte to be returned to Mac OS.

RTAS

Certain hardware devices differ from machine to machine, but provide similar functions. RTAS ( Run-time Abstraction Services) provides such hardware-specific functions, including functions for accessing the real-time clock, non-volatile RAM (NV-RAM), restart, shutdown, and PCI configuration cycles. The I/O primitives for these functions in the ToolBox ROM Image for NewWorld use RTAS.

NV-RAM

Instead of using hard-coded offsets to locations in NV-RAM for Mac OS NV-RAM and other information, the Trampoline code breaks NV-RAM into

What Is Different

65

Image 65
Contents Apple iMac Computer Page Contents RAM Expansion Devices and PortsRtas SoftwareRtas NV-RAM Appendix Abbreviations IndexFigures and Tables Page About This Developer Note Contents of This NoteSupplemental Reference Documents PowerPC G3 MicroprocessorMac OS ATA DevicesOpen Firmware USB DevicesE F a C E Introduction Features Shows a front view of the computer Case and External FeaturesFront view 2Side view showing I/O bay System Software Compatibility IssuesUSB Ports and Devices Main RAM Expansion ModulesVideo RAM Expansion Modules Page Architecture Architecture Backside Cache Processor moduleG3 Microprocessor Controller IC Main Logic BoardMemory Controller and PCI Bridge Built-in Modem USB ControllerVideo Display Subsystem Infrared Link Module Devices and Ports USB Ports USB ConnectorsGND Transfer Types SupportedADB Compatibility USB Compatibility IssuesMacintosh-To-Macintosh Connections Serial Port CompatibilityUSB Storage Devices USB ControllerKeyboard Layout KeyboardKeyboard and USB MouseVideo Display Hard Disk DriveSound System Infrared Communication LinkSound Outputs Sound InputsBuilt-in Microphone External Sound InputHeadphone Jacks Sound SpecificationsExternal Sound Output Total harmonic distortion Internal Modem Ethernet PortPage RAM Expansion Placing the Computer Face Down Removing the Logic Board AssemblyExpansion Slots Unfastening the Cables Removing the bottom coverRAM Expansion Removing the Retaining Screws 3Logic board assembly handle and retaining screwsRemoving the EMI Shield Removing the Logic Board AssemblyLocations of the Expansion Slots 6Locations of the RAM expansion slots Main RAM ExpansionElectrical Design of RAM SO-DIMMs Mechanical Design of RAM SO-DIMMsSdram Devices Configuration of RAM SO-DIMMs Address Multiplexing RAM SO-DIMM Electrical LimitsVideo RAM Expansion Page Software Why Make This Change? What Has Changed Features of the New Approach RAM Footprint PerformanceUser Experience Data Structures and FilesBoot ROM Contents Rtas Mac OS ndrv DriversToolbox Image File Contents ToolBox ROM Image NewWorld Boot ProcessTrampoline Code Interrupt Handling What Is DifferentRAM Footprint Outmoded ResourcesStartup Disk Control Panel NanoKernelMachine Identification Open Firmware and the Device TreeInterrupt Layout Software Abbreviations Chrp NMI Page Index Nvram X, Y, Z Allen Watson