diff options
author | Yasha Cherikovsky <yasha.che3@gmail.com> | 2015-11-14 19:21:14 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-11-21 18:03:40 +0100 |
commit | 37f4565b8b9da60c817572b0e9dd161b5815deee (patch) | |
tree | c3f596ee0d81e9f06366b98d4a5b3d21a8f483fd /util/romcc/tests/simple_test.c | |
parent | 75cdfd1d06da8a14c549792f7c550753c29a0591 (diff) |
coreinfo: Rewrite bootlog_module
The old bootlog_module implementation was completely broken:
- It assumed that the console buffer is located at address 0x90000,
and of size 64K. It is not correct nowadays.
- It displayed the buffer in a very hacky way, the code was riddled with
TODOs and FIXMEs. Scrolling had sometimes unexpected behavior.
The new implementation:
- Uses the cbmem console as the source of data.
It takes the console information from lib_sysinfo of libpayload, which is
constructed from the coreboot tables (no more hardcoded adressess).
- Properly sanitizes the console buffer for display, which makes
scolling and display much easier to implement.
Change-Id: I3f87ec920631da2acfd3f52273228703f22f469f
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Reviewed-on: http://review.coreboot.org/12440
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/romcc/tests/simple_test.c')
0 files changed, 0 insertions, 0 deletions