From ef5058ae8714d68c0f671726618e721681523ac5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 Jun 2021 22:14:40 -0400 Subject: sim: split sim/callback.h include out The sim-basics.h is too big and includes too many things. This leads to some arch's sim-main.h having circular loop issues with defs, and makes it hard to separate out common objects from arch-specific defs. By splitting up sim-basics.h and killing off sim-main.h, it'll make it easier to separate out the two. Start with splitting out sim/callback.h. --- sim/common/sim-hw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/common/sim-hw.c') diff --git a/sim/common/sim-hw.c b/sim/common/sim-hw.c index 95d9504..9a3db17 100644 --- a/sim/common/sim-hw.c +++ b/sim/common/sim-hw.c @@ -23,6 +23,7 @@ along with this program. If not, see . */ #include "sim-main.h" #include "sim-assert.h" #include "sim-options.h" +#include "sim/callback.h" #include "sim-hw.h" -- cgit v1.1