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

View File

@@ -1,4 +1,4 @@
#include <lkmc.h>
#include <assert.h>
int main(void) {
int i, j, k;
@@ -9,5 +9,5 @@ int main(void) {
k = i + j;
/* test-gdb-result */
if (k != 3)
lkmc_assert_fail();
assert(0);
}

View File

@@ -1,5 +0,0 @@
#include <lkmc.h>
int main(void) {
lkmc_assert_fail();
}