1 comment:
File payloads/external/SeaBIOS/Makefile:
Patch Set #3, Line 43: echo "CONFIG_CBFS_LOCATION=0xfffc0000" >> seabios/.config
There is no relationship to the memory address 0xfffc0000.
Isn't there? I thought the flash is always guaranteed to the memory-mapped at the very end of the 4GB space? So can't you just do
struct cbfs_file *fhdr = (void *)(uintptr_t)((u32)0 - (u32)bmp->cbfs_offset);
? That's essentially the same thing libpayload does (see libpayload/arch/x86/rom_media.c).
To view, visit change 32327. To unsubscribe, or for help writing mail filters, visit settings.