Ciro Santilli 六四事件 法轮功
16ecab4af0
x86: paddq
2019-05-10 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5d774c0947
gas_data_sizes.S: make PIE for all ISAs
2019-05-09 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
7014d34576
gas data sizes
2019-05-09 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
5e55547ce1
userland x86_64: allow ASSERT_EQ to take just about anything
2019-05-09 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
53ef7281a4
userland x86_64: implement ASSERT_MEMCMP
2019-05-08 00:00:10 +00:00
Ciro Santilli 六四事件 法轮功
8e1fd9991b
assert_fail.c: add to readme index
2019-05-08 00:00:09 +00:00
Ciro Santilli 六四事件 法轮功
fce78fcd46
userland x86_64: ASSERT_EQ show actual and expected values
2019-05-08 00:00:08 +00:00
Ciro Santilli 六四事件 法轮功
6d1a38e6b8
gem5: use a single build tree for all build types
...
gem5 already has different object names for each build type it seems, so
let's just make sure that works and save some disk space.
2019-05-08 00:00:07 +00:00
Ciro Santilli 六四事件 法轮功
88db1a725a
userland assembly: build empty.S and fail.S to toplevel and run fail.S with path_properties exit_status
...
They were just duplicating stuff needlessly while we don't support non-native in-tree builds,
which leads to executable conflicts for C file anyways.
2019-05-08 00:00:06 +00:00
Ciro Santilli 六四事件 法轮功
62571fa649
aarch64: fix ASSERT_EQ_REG tests on gem5
...
Was doing an 8-byte aligned store, which gem5 dislikes.
But the ARMARM says bad things may happen there, notably a signal:
"D1.8.2 SP alignment checking" so gem5 is not really too wrong,
QEMU just happens to work by chance.
2019-05-08 19:23:53 +01:00
Ciro Santilli 六四事件 法轮功
887dd8a31f
test-user-mode: handle exit status for signals. Fix #61 .
2019-05-08 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
7a007c66fe
test-baremetal: remove commented out exit status workaround
2019-05-08 00:00:03 +00:00
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 六四事件 法轮功
18ca0b3c9c
panic on panic: improve behaviour description
2019-05-08 00:00:00 +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 六四事件 法轮功
5150715587
submodules: sort gitmodules
2019-05-05 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
22b86c06c1
readme: releases are more stable...
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f176d04500
userland: start refactor to show failing values on failure!
...
aarch64 basically done, but missing:
- other archs
- maybe convert main.c into C++ to use templates?
- full review of ASSERT_EQ calling convention issues not seen by tests
by chance
- documentation
2019-05-05 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 六四事件 法轮功
8661d68d71
rum: --qemu-which host now works for user mode as well as system
...
Don't fall back on host QEMU automatically, too much insanity.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ccf1ea2420
common: define missing 'ld' variable, this broke m5 build
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5411daa2d3
cli-function: raise if the config file is given and does not exist
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8dae332c17
run: fix image check logic accounting for userland
...
Was failing if I try to run userland (with abspath) when out/
directory is not present.
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 六四事件 法轮功
928a843b16
baremetal: arm allow using floating point instructions
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
73db3a4952
common: fix absolute path runs
...
--gdb: allow running from arbitrary directory
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0e84c413e4
waste your life
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 六四事件 法轮功
f1c3b64a55
userland: x86_64 linux hello world make PIE
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c4d37134da
prebuilt: kernel boot aarch64 does not work on Ubuntu 16.04
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 六四事件 法轮功
e611806df9
run: create the uber convenient --gdb option
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
776ec896f2
run: create --tmux-program gdb to open gem5 GDB
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7dedb18580
run: rename --wait-gdb in --gdb-wait, --gdb prefix might become a thing
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
74b3672dea
gem5: --debug-flags without =, looks nicer whenever it can be done
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5695748b3f
userland: move posix/environ 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
Ciro Santilli 六四事件 法轮功
8509f17a84
userland: native testing
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5daad53289
thread_pool: support passing thread IDs
...
Then use that to fix gem5 error log read race.
2019-05-05 00:00:00 +00:00