]> git.sur5r.net Git - u-boot/commit
efi_loader: Some console improvements for vidconsole
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:44 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 09:29:35 +0000 (11:29 +0200)
commit3a45bc7faa5f93513369fc4447db2c379c19b2ca
treec218322a6b80d45756e0d2991e2dbe6bab4babf4
parenta18c5a8382284037ea8fa4742736a65317476d23
efi_loader: Some console improvements for vidconsole

1) use fputs() to reduce cache flushes from once-per-char to
   once-per-string
2) handle \r, \t, and \b in addition to just \n for tracking
   cursor position
3) cursor row/col are zero based, not one based

Signed-off-by: Rob Clark <robdclark@gmail.com>
[agraf: s/unsigned/unsigned int/]
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
lib/efi_loader/efi_console.c