Julian Stecklina wrote:
I was asking, because we see coreboot memcpy'ing to ROM. We map it to 0xFF00_0000 and it's copying 0xee8 bytes of memory from 0xff20_0300 to 0xff20_0300 (the same memory). So this is basically a NOP, but very weird.
Right after reset it wouldn't be a NOP, but this seems to be a lot later.
(Real mode f000:0000 after reset maps to physical ffff0000.)
CBFS: Found 'fallback/romstage' @0x80 size 0x3ba0 in mcache @0x00014e2c WARN - MOVS to ROM at RIP ffffdc2f RCX ee8 ff200300->ff200300
I guess this is in 32-bit mode. coreboot leaves real mode quickly.
Anyway, memory mapped sounds correct for QEMU. :)
//Peter