summaryrefslogtreecommitdiff
path: root/bsp/env/freedom-e300-hifive1
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-11-28 18:56:57 -0800
committerAndrew Waterman <andrew@sifive.com>2016-12-20 19:15:39 -0800
commit15ea618a79886024f50cabac19d7f91811dec5fb (patch)
tree1f1fb4656c68414b40bc95d3868ccc1b91fd719d /bsp/env/freedom-e300-hifive1
parentfb9d92d4bcfae53f60d82c1bd2ca270e67e312e7 (diff)
Pass argc and argv to main()
Diffstat (limited to 'bsp/env/freedom-e300-hifive1')
-rw-r--r--bsp/env/freedom-e300-hifive1/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsp/env/freedom-e300-hifive1/init.c b/bsp/env/freedom-e300-hifive1/init.c
index c088079..167d652 100644
--- a/bsp/env/freedom-e300-hifive1/init.c
+++ b/bsp/env/freedom-e300-hifive1/init.c
@@ -188,8 +188,6 @@ void _init()
write_csr(mstatus, MSTATUS_FS); // allow FPU instructions without trapping
write_csr(fcsr, 0); // initialize rounding mode, undefined at reset
}
-
- //_exit(main(0, NULL));
}
void _fini()