tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel goes dark on boot



On Wed, Apr 05, 2023 at 06:47:58AM +0000, Emmanuel Dreyfus wrote:
> Bootstrap code looses ground on rep movsq or rep movsb 
> instructions.

Inspecting EFI memory map, I now understand why: the kernel
is too big to fit in the coventional memory mapping where
bootstrap code attempts to copy it.

kernel size: 0x1b34820
memory mapping size 0xf00000

It seems we do not check for room, we just load at ELF 
header load address with the hope everything will be okay.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index