Pass locale to VbExDisplayScreen

This change makes VbDisplayScreen read the last saved locale from nvram
and pass it to VbExDisplayScreen so that it can draw locale dependent
screens.

BUG=chromium:502066
BRANCH=tot
TEST=Tested on Samus. make runtests.
CQ-DEPEND=CL:304382,CL:306100,CL:306110

Change-Id: I9782ec5a8a9f8393998aa8a0d64e88ad1809233b
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/304375
This commit is contained in:
Daisuke Nojiri
2015-10-06 16:50:33 -07:00
committed by chrome-bot
parent 7ed261297f
commit 9354379d64
5 changed files with 11 additions and 9 deletions

View File

@@ -767,7 +767,7 @@ VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height);
* to be simple ASCII text such as "NO GOOD" or "INSERT"; these screens should
* only be seen during development.
*/
VbError_t VbExDisplayScreen(uint32_t screen_type);
VbError_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale);
/**
* Write an image to the display, with the upper left corner at the specified