summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorSimon Rettberg2018-05-28 15:33:56 +0200
committerSimon Rettberg2018-05-28 15:45:25 +0200
commit85b64c16424ce690ba7f640c2f0bde6e70295112 (patch)
tree5043b7eede0364ff48be6859a1d31298e4e36bd6 /src/include/ipxe
parent[icplus] Add driver for IC+ network card (diff)
downloadipxe-85b64c16424ce690ba7f640c2f0bde6e70295112.tar.gz
ipxe-85b64c16424ce690ba7f640c2f0bde6e70295112.tar.xz
ipxe-85b64c16424ce690ba7f640c2f0bde6e70295112.zip
[console] Add option to update margins and bg-image of vesa mode console
Adding --update to the console call will prevent the vesa mode from being initialized again. The existing mode will be reused. This makes it possible to quickly update the background image or console margins without ugly flickering.
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/console.h b/src/include/ipxe/console.h
index 1b764aaca..ca8093a73 100644
--- a/src/include/ipxe/console.h
+++ b/src/include/ipxe/console.h
@@ -38,6 +38,8 @@ struct console_configuration {
unsigned int bottom;
/** Background picture, if any */
struct pixel_buffer *pixbuf;
+ /** Update mode: Don't re-init vesa mode, just update margins and bg image */
+ int lazy_update;
};
/**