OSDN Git Service

ui/curses: Move arrays to .heap to save 74KiB of .bss
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 5 Mar 2020 12:45:24 +0000 (13:45 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 22:02:25 +0000 (23:02 +0100)
commit76c51fc3af34a02a5b6ecebe87dc2c2830251d16
treef681209ac801c42b0f416a127b60f47798141c62
parent80e8c2ed1c4c3b77fe66ac64b7c3e9348d813e9a
ui/curses: Move arrays to .heap to save 74KiB of .bss

We only need these arrays when using the curses display.
Move them from the .bss to the .heap (sizes reported on
x86_64 host: screen[] is 64KiB, vga_to_curses 7KiB).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ui/curses.c