summaryrefslogtreecommitdiff
path: root/demo/main.c
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-21 22:21:37 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-21 22:21:41 -0600
commit3f5ec7003075eb78e7e2a7b179cbcd3a6c9e294d (patch)
tree45e5aeb39b02198e92eab7ed5a167289d31a02aa /demo/main.c
parentb943b9970564be0e4e8782b0f748912339e1009a (diff)
demo: implement float16 support
Diffstat (limited to 'demo/main.c')
-rw-r--r--demo/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/demo/main.c b/demo/main.c
index 858b50e..bc95579 100644
--- a/demo/main.c
+++ b/demo/main.c
@@ -211,3 +211,11 @@ void reset(void)
else
ap_main();
}
+
+// Requerido por libgcc
+int raise(int sig)
+{
+ print("raise(%d) called, aborting", sig);
+ halt_cpu(this_cpu->num);
+ while (1);
+}