diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-18 08:02:23 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-26 21:12:29 +0000 |
commit | f0a3d444580a8dd80c6f8260be2fbd1448118faf (patch) | |
tree | 28a3d6912ef4da41732a066fa6a3bdb58e018c91 /src/mainboard/emulation/qemu-i440fx/memory.c | |
parent | 101ef0b528461a3fb662db150b16607430a2bd94 (diff) | |
download | coreboot-f0a3d444580a8dd80c6f8260be2fbd1448118faf.tar.xz |
emulation/qemu-x86: Use common romstage code
This provides stack guards with checking and common
entry into postcar.
Change-Id: If0729721f0165187946107eb98e8bc754f28e517
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34973
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx/memory.c')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/memory.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/memory.c b/src/mainboard/emulation/qemu-i440fx/memory.c index aa1ceba410..8209379bef 100644 --- a/src/mainboard/emulation/qemu-i440fx/memory.c +++ b/src/mainboard/emulation/qemu-i440fx/memory.c @@ -15,6 +15,7 @@ #include <cbmem.h> #include <arch/io.h> +#include <arch/romstage.h> #include "memory.h" #include "fw_cfg.h" @@ -61,3 +62,8 @@ void *cbmem_top(void) return (void *)top; } + +/* Nothing to do, MTRRs are no-op on QEMU. */ +void fill_postcar_frame(struct postcar_frame *pcf) +{ +} |