Lab2
|
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. |
Functions related to the VBE standard
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.
mode | mode whose information should be returned |
vmi_p | address of vbe_mode_info_t structure to be initialized |