#ifndef COLORIZE_H #define COLORIZE_H #define colorize_start(fore) "\033[" __##fore "m" #define colorize_start_full(fore, back) "\033[" __##fore ";" __on_##back "m" #define colorize_end() "\033[" __reset "m" #endif /* COLORIZE_H */ le='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-12-16 12:29:59 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-09-20 14:25:35 +0200
commitde59576293f82ee285ef5edb31f7169c84403368 (patch)
treea9fa400090460d9862ee85438812d201c555894c
parent3be7988674ab33565700a37b210f502563d932e6 (diff)
bochs: ignore device if there isn't enougth memory
The qemu stdvga can be configured with a wide range of video memory, from 1 MB to 256 MB (default is 16 MB). In case it is configured with only 1 or 2 MB it isn't really usable with bochsdrm, due to depths other than 32bpp not being supported so that isn't enough memory for a reasonable sized framebuffer. So skip the device and let vgacon or vesafb+fbcon handle the it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>