lib: Add hfence instruction encoding
authorAtish Patra <atish.patra@wdc.com>
Mon, 25 Nov 2019 07:33:48 +0000 (23:33 -0800)
committerAnup Patel <anup@brainfault.org>
Mon, 23 Dec 2019 03:42:16 +0000 (09:12 +0530)
commit94072025325b639d603f428366b53b470e625f64
tree69fde845727dda8f86c32eb34b5450009616ce0d
parent9777aeef41a613b3c27056a695d4d6007760b3a8
lib: Add hfence instruction encoding

Currently, the toolchains do not have support for hfence instruction.
Hence, the instruction are hardcode until we have toolchain support.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_hfence.h [new file with mode: 0644]
lib/sbi/objects.mk
lib/sbi/sbi_hfence.S [new file with mode: 0644]