mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
714fa308a3
Use DMA mapping API. Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6965 c046a42c-6fe2-441c-8c8c-71466251a162
23 lines
450 B
C
23 lines
450 B
C
#ifndef QEMU_FRAMEBUFFER_H
|
|
#define QEMU_FRAMEBUFFER_H
|
|
|
|
/* Framebuffer device helper routines. */
|
|
|
|
typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
|
|
|
|
void framebuffer_update_display(
|
|
DisplayState *ds,
|
|
target_phys_addr_t base,
|
|
int cols,
|
|
int rows,
|
|
int src_width,
|
|
int dest_row_pitch,
|
|
int dest_col_pitch,
|
|
int invalidate,
|
|
drawfn fn,
|
|
void *opaque,
|
|
int *first_row,
|
|
int *last_row);
|
|
|
|
#endif
|