On Sun, 9 Aug 2015, Geert Uytterhoeven wrote:
> It's the internal buffer for printk():
>
> kernel/printk/printk.c:static char __log_buf[__LOG_BUF_LEN] ...
Right, thanks. If I run this,
$ m68k-linux-gnu-readelf -a boot/vmlinux-4.1.4-mac | grep __log_buf
1723: 003286c8 16384 OBJECT LOCAL DEFAULT 10 __log_buf
I can see that it has address 0x003286c8 and length 16384 bytes. I believe
this is the physical address. But I have no idea whether it will show up
in MacsBug at that address.
If it could be located easily and if it did not get clobbered (entirely or
partially) by the ROM or by MacOS, it could be very useful at times.