History log of /haiku/src/system/boot/platform/openfirmware/debug.cpp
Revision Date Author Comments
# 18da5c30 17-Mar-2020 PulkoMandy <pulkomandy@pulkomandy.tk>

Bootloader log: check for buffer overflow

We could overflow the in-memory log. The bounds check was there for BIOS
already but was missing in EFI and openfirmware. Could fix some crashes
when there is lots of loging.


# ae5a068f 16-Mar-2020 PulkoMandy <pulkomandy@pulkomandy.tk>

openfirmware: implement the in-memory log

We should probably make this code more platform-generic, the
implementation is very similar to the EFI one.

Change-Id: I17c9db933bfc2a81c96816dd6348d2d0c9627951
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2369
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 5e78920c 12-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added platform_debug_get_log_buffer() which returns the debug log buffer and
its size.
* Added "Display current boot loader log" item to the "Debug Options" boot
loader menu. It displays what the boot loader has logged so far. Might be
interesting for early boot issues when serial debugging is not possible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42134 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6add3ff 25-Jun-2010 Axel Dörfler <axeld@pinc-software.de>

* Renamed remaining .c files to .cpp, and made the necessary changes to let
them compile still.
* Some cleanup in ARM's start2.cpp.
* m68k stuff is still missing, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37249 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5e78920c127914641b54a79ce41cb7120b6615fc 12-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added platform_debug_get_log_buffer() which returns the debug log buffer and
its size.
* Added "Display current boot loader log" item to the "Debug Options" boot
loader menu. It displays what the boot loader has logged so far. Might be
interesting for early boot issues when serial debugging is not possible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42134 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6add3ffb67db23d3c873c4614750a9bd1164be1 25-Jun-2010 Axel Dörfler <axeld@pinc-software.de>

* Renamed remaining .c files to .cpp, and made the necessary changes to let
them compile still.
* Some cleanup in ARM's start2.cpp.
* m68k stuff is still missing, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37249 a95241bf-73f2-0310-859d-f6bbb57e9c96