|
Mac OS 9
|
#include <DriverGestalt.h>
Data Fields | |
| UInt32 | bootPartitionQualifier |
| UInt32 | bootPartitionMapEntry |
The kdgOpenFirmwareBootSupport selector is used to get information about boot support for the driver/device. The kdgOpenFirmwareBootingSupport is used during the boot process to allow booting from partitions that Open Firmware may not be able to read directly (i.e. Disk Array partitions, encrypted partitions, compressed partitions, etc..)
The driver will return the bootPartitionQualifier value in the driverGestaltResponse field of the DriverGestaltParam and will return the exact partition map entry for the boot partition in the driverGestaltResponse1 field of the DriverGestaltParam if kOFBootSpecifiedPartition is returned in the driverGestaltResponse. The number that is returned for the bootPartitionMapEntry field if the kOFBootSpecifiedPartition is returned is the partition map entry number for the partition. (i.e. If the partition map entry for the boot partition is the 2nd partition entry in the partition map, the bootPartitionMapEntry field would be set to 2. If the partition map entry for the boot partition is the 3rd partition map, the bootPartitionMapEntry field would be set to 3 and etc.)