Get rid of lkmc_assert_fail in favor of abort + assert

What was missing previously was implementing abort in baremetal.

I had done that previously and forgotten to do this conversion!
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-21 00:00:00 +00:00
parent 3b192bacfc
commit 5391bc1bfd
13 changed files with 9 additions and 48 deletions

4
lkmc.c
View File

@@ -6,10 +6,6 @@
#include <lkmc.h>
void lkmc_assert_fail(void) {
exit(1);
}
void lkmc_baremetal_on_exit_callback(int status, void *arg) {
(void)arg;
if (status != 0) {