mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
vga: Make fb endian a common state variable
And initialize it based on target endian Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
e657d8ef3c
commit
2c7d8736af
2 changed files with 20 additions and 13 deletions
|
@ -157,6 +157,7 @@ typedef struct VGACommonState {
|
|||
const GraphicHwOps *hw_ops;
|
||||
bool full_update_text;
|
||||
bool full_update_gfx;
|
||||
bool big_endian_fb;
|
||||
/* hardware mouse cursor support */
|
||||
uint32_t invalidated_y_table[VGA_MAX_HEIGHT / 32];
|
||||
void (*cursor_invalidate)(struct VGACommonState *s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue