On Tue, 2023-04-18 at 09:42 +0100, Luke Kenneth Casson Leighton wrote: > On Tuesday, April 18, 2023, Ben Westover wrote: > > /* non-x86 platform */ > > if (!info->VBIOS) { > > otypes[0] = OUTPUT_VGA; > > } > > > > bios_header = R128_BIOS16(0x48); > > almost certainly a NULL pointer from this macro
These are the macro definitions. #define R128_BIOS8(v) ((info->VBIOS[(v)])) #define R128_BIOS16(v) ((info->VBIOS[(v)]) | \ (info->VBIOS[(v) + 1] << 8)) #define R128_BIOS32(v) ((info->VBIOS[(v)]) | \ (info->VBIOS[(v) + 1] << 8) | \ (info->VBIOS[(v) + 2] << 16) | \ (info->VBIOS[(v) + 3] << 24)) Please try these gdb commands once you hit the crash point: print info print info.VBIOS print info->VBIOS print info->VBIOS[0x48] print info->VBIOS[0x49] -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part