summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorEran Mitrani <mitrani@google.com>2023-09-14 14:57:10 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-09-18 13:15:44 +0000
commita63a56d57210cd129ea2305019a9f766e2c84429 (patch)
tree8926d63de556045b91a3d0c6b33b8646199abbda /payloads/libpayload/include
parent31a0fdd039ed75b584a4990523b723156447994f (diff)
downloadcoreboot-a63a56d57210cd129ea2305019a9f766e2c84429.tar.gz
coreboot-a63a56d57210cd129ea2305019a9f766e2c84429.tar.bz2
coreboot-a63a56d57210cd129ea2305019a9f766e2c84429.zip
libpayload/drivers/video: Add cursor movement support in console
Add support for moving the console cursor horizontally and vertically. BUG=b:300405745 TEST=Tested using firmware shell on Rex. Signed-off-by: Eran Mitrani <mitrani@google.com> Change-Id: I585add120b559396bc0e28aa972b0ae2a33f1fa8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77900 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 19ba671a5ad5..35f2bd735b9c 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -279,6 +279,7 @@ void video_console_clear(void);
void video_console_cursor_enable(int state);
void video_console_get_cursor(unsigned int *x, unsigned int *y, unsigned int *en);
void video_console_set_cursor(unsigned int cursorx, unsigned int cursory);
+void video_console_move_cursor(int x, int y);
/*
* print characters on video console with colors. note that there is a size
* restriction for the internal buffer. so, output string can be truncated.