summaryrefslogtreecommitdiff
path: root/bsp/env
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2016-12-17 10:26:30 -0800
committerGitHub <noreply@github.com>2016-12-17 10:26:30 -0800
commit74eaeefac95b39f74a7c2c564872f00ba95239d6 (patch)
treed42d2548ab1ab3570c651908f5ec5bfb080b8e41 /bsp/env
parent15ad5fcfe5cf9e57dfcddad144a9364de2d7d0f5 (diff)
parent8b697c0b89ccc0a732d4d1841c62709d72e37908 (diff)
Merge pull request #28 from sifive/init_fini
Correct init/fini functions for Arty Dev Kit
Diffstat (limited to 'bsp/env')
-rw-r--r--bsp/env/freedom-e300-arty/init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsp/env/freedom-e300-arty/init.c b/bsp/env/freedom-e300-arty/init.c
index a7e368e..c766e98 100644
--- a/bsp/env/freedom-e300-arty/init.c
+++ b/bsp/env/freedom-e300-arty/init.c
@@ -60,5 +60,10 @@ void _init()
write_csr(mtvec, &trap_entry);
- _exit(main(0, NULL));
+ // _exit(main(0, NULL));
+}
+
+
+void _fini()
+{
}