summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/console.h
diff options
context:
space:
mode:
authorMichael Brown2014-01-22 14:57:07 +0100
committerMichael Brown2014-01-22 15:26:31 +0100
commit608d6cac9eb6df2bf232ce955d81dfba63b9570b (patch)
tree8b473d2a137e9091efd835219b56c5f9e33b49dc /src/include/ipxe/console.h
parent[fbcon] Centre background picture on console (diff)
downloadipxe-608d6cac9eb6df2bf232ce955d81dfba63b9570b.tar.gz
ipxe-608d6cac9eb6df2bf232ce955d81dfba63b9570b.tar.xz
ipxe-608d6cac9eb6df2bf232ce955d81dfba63b9570b.zip
[fbcon] Allow for an arbitrary margin around the text area
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/console.h')
-rw-r--r--src/include/ipxe/console.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ipxe/console.h b/src/include/ipxe/console.h
index ab39cbfc1..6696a5b8d 100644
--- a/src/include/ipxe/console.h
+++ b/src/include/ipxe/console.h
@@ -28,6 +28,14 @@ struct console_configuration {
unsigned int height;
/** Colour depth */
unsigned int bpp;
+ /** Left margin */
+ unsigned int left;
+ /** Right margin */
+ unsigned int right;
+ /** Top margin */
+ unsigned int top;
+ /** Bottom margin */
+ unsigned int bottom;
/** Background picture, if any */
struct pixel_buffer *pixbuf;
};