From 34b018ab3a0b8beee6947cf4a08843a536409592 Mon Sep 17 00:00:00 2001 From: Sagar Karandikar Date: Tue, 7 Mar 2023 11:05:03 -0800 Subject: make target_args() protected instead of private to allow subclasses to inject args --- fesvr/htif.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fesvr/htif.h b/fesvr/htif.h index 4eb2a21..32cd07d 100644 --- a/fesvr/htif.h +++ b/fesvr/htif.h @@ -63,6 +63,7 @@ class htif_t : public chunked_memif_t virtual void idle() {} const std::vector& host_args() { return hargs; } + std::vector& target_args() { return targs; } reg_t get_entry_point() { return entry; } @@ -98,8 +99,6 @@ class htif_t : public chunked_memif_t std::vector dynamic_devices; std::vector payloads; - const std::vector& target_args() { return targs; } - std::map addr2symbol; friend class memif_t; -- cgit v1.1