From 62effc6bfe4f1a7e8a771c49966c4ab7755d6612 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 28 Jul 2017 14:10:20 -0700 Subject: Allow the platform to disable HTIF --- platform/spike.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'platform/spike.c') diff --git a/platform/spike.c b/platform/spike.c index 06aa742..159255f 100644 --- a/platform/spike.c +++ b/platform/spike.c @@ -25,8 +25,12 @@ static const char logo[] = "\n" " INSTRUCTION SETS WANT TO BE FREE\n"; - const char *platform__get_logo(void) { return logo; } + +int platform__use_htif(void) +{ + return 1; +} -- cgit v1.1