summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/include/vboot_api.h10
-rw-r--r--firmware/stub/vboot_api_stub.c3
2 files changed, 10 insertions, 3 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 74605a9a..b5c98155 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -795,10 +795,16 @@ VbError_t VbExDisplayImage(uint32_t x, uint32_t y,
void *buffer, uint32_t buffersize);
/**
- * Display a string at coordinate x,y
+ * Display a string beginning at coordinate x,y.
+ *
+ * The highlight option will display the string in a contrasting color to
+ * the normal colors. For example, the normal display colors are white
+ * background, black foreground. If highlight==1, will display with black
+ * background, white foreground.
*/
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
- const char *info_str);
+ const char *info_str,
+ int highlight);
/**
* Display a string containing debug information on the screen, rendered in a
diff --git a/firmware/stub/vboot_api_stub.c b/firmware/stub/vboot_api_stub.c
index 1e8ff563..f1a50ce4 100644
--- a/firmware/stub/vboot_api_stub.c
+++ b/firmware/stub/vboot_api_stub.c
@@ -53,7 +53,8 @@ VbError_t VbExDisplayImage(uint32_t x, uint32_t y,
}
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
- const char *info_str)
+ const char *info_str,
+ int highlight)
{
return VBERROR_SUCCESS;
}