|
AquilaOS documentation
How it works, and its code
|
Go to the source code of this file.
Data Structures | |
| struct | fbdev |
| A framebuffer: its driver, its screen's information, its operations. More... | |
Macros | |
| #define | FBDEV_TYPE_VESA 1 |
Functions | |
| int | fbdev_register (int, void *) |
| Registers a framebuffer, which fbdev_probe() sets up with its driver. | |
| struct fbdev * | fbdev_primary (void) |
| Returns the first framebuffer, once it is set up, for the virtual terminals. | |
Variables | |
| struct fbdev | fbdev_vesa |
| #define FBDEV_TYPE_VESA 1 |
Definition at line 11 of file fbdev.h.
Referenced by fbdev_probe(), and process_multiboot_info().
| struct fbdev * fbdev_primary | ( | void | ) |
Returns the first framebuffer, once it is set up, for the virtual terminals.
Definition at line 63 of file fbdev.c.
References fbdev_cnt, fbdev_primary(), fbdev::fix_screeninfo, NULL, and registered_fbs.
Referenced by fbdev_primary(), and vt_fb_probe().
| int fbdev_register | ( | int | type, |
| void * | data ) |
Registers a framebuffer, which fbdev_probe() sets up with its driver.
The first one registered is /dev/fb0.
| type | its driver (FBDEV_TYPE_VESA) |
| data | what the driver needs to set it up (the VESA mode's description) |
Definition at line 37 of file fbdev.c.
References fbdev::data, fbdev_cnt, fbdev_register(), MAX_FBDEV, registered_fbs, and fbdev::type.
Referenced by fbdev_register(), and process_multiboot_info().