• Gerd Hoffmann's avatar
    bochs: add endian switching support · 9ecdb039
    Gerd Hoffmann authored
    Recently (qemu 2.2+) the qemu stdvga got a register to switch the vga
    framebuffer endianness.  This patch adds code to explicitly set the
    endianness of the framebuffer.  In most cases this has no effect as
    the default is guest architecture endianness.  It is needed though in
    case a architecture supports both big and little endian, i.e. for
    ppc64le.
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    9ecdb039
bochs_hw.c 5.19 KB