From dfd191367991cb157b53767dcc05824c826b5abd Mon Sep 17 00:00:00 2001 From: Iman Hosseini Date: Tue, 20 Sep 2022 00:05:00 -0400 Subject: detects the loading of isa-incompatible (i.e. 32 bit code to 64bit HART) code and emits an error message to help avoid unintentionally loading wrong elf. --- fesvr/elfloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fesvr/elfloader.h') diff --git a/fesvr/elfloader.h b/fesvr/elfloader.h index 696ef47..ae4ee78 100644 --- a/fesvr/elfloader.h +++ b/fesvr/elfloader.h @@ -8,6 +8,6 @@ #include class memif_t; -std::map load_elf(const char* fn, memif_t* memif, reg_t* entry); +std::map load_elf(const char* fn, memif_t* memif, reg_t* entry, unsigned required_xlen = 0); #endif -- cgit v1.1