Ciro Santilli 六四事件 法轮功
40169f7427
baremetal: implement C assert
2019-05-08 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
406ee82cf3
baremetal: get exit status working with on_exit :-)
2019-05-08 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
3d83206461
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
2019-05-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
26cab92bfc
baremetal: allow arbitrary exit status with the magic string
...
test-baremetal: fix missing setting x0 return value
Examples were just returning on ret without setting x0, which led to
failures... those were not noticed because of how broken the testing system
was ;-)
2019-05-06 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ff8cbe9d7a
test-baremetal: same interface as test-user-mode
...
In particular, runs tests in parallel, and allows selecting given tests
2019-05-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5711e85e70
userland: use path_properties flags for all builds, including lkmc. and userland/arch/main.c
...
Without this in particular, --gdb fails on assembly because main.c
was not being built with -ggdb3.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
345343341d
userland: refix silly mistakes
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
53620e5d32
baremetal: stat preparing to make perfect like userland/
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e26a60f376
userland: classify linux
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
14270ad7b3
userland: document path_properties
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ccf58dc813
userland: make libs really work
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9cd48d5184
userland: make libs work
...
Working for build, but now test-user-mode-in-tree is not using --in-tree,
TODO fix later on.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1ca732bf75
userland: move more userland/arch/ logic into property tree
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d15714641f
path_properties: make data very compact with only tuples and dicts
...
Spend 2 hours of my life thinking about low value tree walks ;-)
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e5dbbcd8c2
userland: only link to lkmc.o if needed
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eba97f9cef
userland: try to make userland executable selection saner
...
Only allow existing files to be built, stop extension expansion madness.
cli_function: get_cli print booleans properly, was printing without --no-
for negations.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fb3fdaa8a6
userland: move getchar from cpp-cheat
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ca2dbcd25d
userland: path properties getting nice!
2019-05-05 00:00:00 +00:00