Lab5
 All Data Structures Functions Variables Groups
Data Structures | Functions
vbe

Data Structures

struct  __attribute__

Functions

int vbe_get_mode_info (unsigned short mode, vbe_mode_info_t *vmi_p)
 Returns information on the input VBE mode, including screen dimensions, color depth and VRAM physical address.

Detailed Description

Functions related to the VBE standard

Function Documentation

int vbe_get_mode_info ( unsigned short  mode,
vbe_mode_info_t *  vmi_p 
)

Returns information on the input VBE mode, including screen dimensions, color depth and VRAM physical address.

Initializes unpacked vbe_mode__info_t structure passed as an address with the information of the input mode, by calling VBE function 0x01 Return VBE Mode Information and unpacking the ModeInfoBlock struct returned by that function.

Parameters
modemode whose information should be returned
vmi_paddress of vbe_mode_info_t structure to be initialized
Returns
0 on success, non-zero otherwise