Hi Mark, hi Artyom,
while using valgrind to fix some issues with the rom_ptr() function today, I noticed that there is one more problem in sun4u_load_kernel(): The kernel_top variable can be used uninitialized in some cases: If load_elf() fails and the kernel is loaded via load_aout() or load_image_targphys(), the kernel_top variable is never set to a valid value. This could cause some trouble when loading the initrd later. When you've got some spare time, could you please have a look? Thanks, Thomas