cc5be8b72b
mb() is used in src/arch/riscv/ and src/mainboard/emulation/*-riscv/. It is currently provided by atomic.h, but I think it fits better into barrier.h. The "fence" instruction represents a full memory fence, as opposed to variants such as "fence r, rw" which represent a partial fence. An operating system might want to use precisely the right fence, but coreboot doesn't need this level of performance at the cost of simplicity. Change-Id: I8d33ef32ad31e8fda38f6a5183210e7bd6c65815 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/15830 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> |
||
---|---|---|
.. | ||
include | ||
boot.c | ||
bootblock.S | ||
bootblock_simple.c | ||
id.ld | ||
id.S | ||
Kconfig | ||
Makefile.inc | ||
misc.c | ||
prologue.inc | ||
stages.c | ||
tables.c | ||
trap_handler.c | ||
trap_util.S | ||
virtual_memory.c |