Contents

setStartupDisplayMode

Set the framebuffers display mode and depth to be used during boot and at startup.

Declaration

virtual IOReturn setStartupDisplayMode(
 IODisplayModeIDdisplayMode, 
 IOIndexdepth );

Parameters

  • displayMode:

    A display mode ID representing the new startup mode.

  • depth:

    An index indicating the new startup depth configuration of the framebuffer. The index should range from zero to the value of the maxDepthIndex field from the IODisplayModeInformation structure for the display mode.

Return Value

an IOReturn code.

Overview

IOFramebuffer subclasses should implement this method to set the mode and depth to be used during boot and at startup, to reduce needed mode changes during boot when the display connection type is the same. If possible this mode should also be used by the OpenFirmware driver for the card.

See Also

Miscellaneous