Lab2
Data Structures | Functions

vbe

Data Structures

struct  vbe_mode_info_t
 Packed VBE Mode Info Block. More...

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 frame buffer 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 frame buffer physical address.

Initializes the packed 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.

This function hides from its users all the details of the VBE interface.

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
 All Data Structures Variables