coreboot/src/mainboard/emulation
Jonathan Neuschäfer e7a39c6953 UPSTREAM: arch/riscv: Add include/arch/barrier.h
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.

BUG=None
BRANCH=None
TEST=None

Change-Id: I415c642941471bc3bf99bfeeb235cfaef7e247fe
Signed-off-by: Jonathan Neuschfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/15830
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/367373
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
2016-08-10 00:27:36 -07:00
..
qemu-armv7 UPSTREAM: region: Add writeat and eraseat support 2016-06-27 17:13:18 -07:00
qemu-i440fx UPSTREAM: qemu/x86: car: drop pointless code, move stack out of the way 2016-06-22 10:40:43 -07:00
qemu-power8 UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
qemu-q35 UPSTREAM: emulation/qemu-i440fx qemu-q35: Asmlinkage for romstage main() 2016-06-21 17:13:36 -07:00
qemu-riscv UPSTREAM: arch/riscv: Add include/arch/barrier.h 2016-08-10 00:27:36 -07:00
spike-riscv UPSTREAM: arch/riscv: Add include/arch/barrier.h 2016-08-10 00:27:36 -07:00
Kconfig kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00