Up   Previous   Next  
PATHADC Home > Documentation > Hardware > PowerBook Developer Note


Aspects of the New Approach

Some aspects of the ROM-in-RAM approach are apparent in the operation of the system.

RAM Footprint

Startup Disk Control Panel

Memory Mapping

RAM Footprint

The PowerBook computer has its Mac OS ROM image stored in RAM. The area of RAM that contains the Mac OS ROM image is excluded from the available memory space and is marked as read-only. This removes approximately 3 megabytes of RAM from availability for other uses. In effect, a system with 64 megabytes of RAM appears to have only 61 megabytes available.

Startup Disk Control Panel

Setting the startup device from the Startup Disk control panel makes the changes to the boot process that are needed for the ROM-in-RAM approach. The Startup Disk control panel sets the Open Firmware's boot-device configuration variable by modifying the Open Firmware NV-RAM partition that contains the Open Firmware's configuration variables.

IMPORTANT

The previous API for controlling the startup device selection, using _GetDefaultStartup and _SetDefaultStartup , is not effective on computers that use the ROM-in-RAM approach.

Memory Mapping

With the ROM-in-RAM approach, memory is not mapped one-to-one as it has been for previous PCI-based Macs. This could be a compatibility issue with some software. Software that assumes the logical and physical addresses are the same will fail, even when virtual memory is not on. Well-behaved software--that is, software that always calls the LogicalToPhysical or PrepareMemoryForIO functions when it needs a physical memory address--will continue to work.

For more information see Technical Q&A DV 33, PrepareMemoryForIO for the New World , available on Apple's technote website at

http://developer.apple.com/qa/dv/dv33.html


© 1999-2000 Apple Computer, Inc. (Last Updated 15 February 00)

Up   Previous   Next