Display driver for the QEMU framebuffer display peripheral.
More...
Display driver for the QEMU framebuffer display peripheral.
Rows are copied to the peripheral's framebuffer and shown at once; updates complete before pbl_display_update() returns. The image is not rotated.
◆ pbl_display_qemu
| Data Fields |
|
uintptr_t |
base |
Register base address. |
|
struct pbl_display |
disp |
Display. |
|
uintptr_t |
fb |
Framebuffer base address. |
◆ PBL_DISPLAY_QEMU_DEFINE
| #define PBL_DISPLAY_QEMU_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_fb, |
|
|
|
_width, |
|
|
|
_height, |
|
|
|
_format |
|
) |
| |
Value:
false), \
.base = (_base), \
}; \
PBL_DEVICE_REGISTER(sym, &sym.
disp.
dev)
struct pbl_display disp
Display.
Definition qemu.h:23
uintptr_t fb
Framebuffer base address.
Definition qemu.h:27
QEMU display.
Definition qemu.h:21
struct pbl_device dev
Device.
Definition display.h:109
#define PBL_DISPLAY_INIT(sym, _name, _ops, _deps, _width, _height, _format, _rotated)
Initializer for the struct pbl_display of display sym.
Definition display.h:149
#define PBL_DISPLAY_STATE_DEFINE(sym)
Define the class state of display sym, for the PBL_*_DEFINE() macro of a driver.
Definition display.h:132
Define a QEMU display.
- Parameters
-
| sym | Symbol of the display. |
| _name | Name. |
| _base | Register base address. |
| _fb | Framebuffer base address. |
| _width | Width, in pixels. |
| _height | Height, in pixels. |
| _format | Framebuffer format. |