baremetal: ah, actually nope, it didn't work :-(

Workaround for now. Works on asserts, but not on exit 1.

Some other day, maybe.

https://github.com/cirosantilli/linux-kernel-module-cheat/issues/59
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-07 00:00:00 +00:00
parent 26cab92bfc
commit 3d83206461
11 changed files with 127 additions and 87 deletions

9
lkmc/hello.c Normal file
View File

@@ -0,0 +1,9 @@
/* Print hello to stdout ;-) */
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("hello");
return EXIT_SUCCESS;
}