Commit Graph

1163 Commits

Author SHA1 Message Date
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
Ciro Santilli 六四事件 法轮功
b49ebb1c8a userland: get a bit closer to perfection 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
85006363f8 test-user-mode: make perfect like build-userland
Multithreading and target selection.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
81a2ba927f userland: build really truly working now
userland test: start work, in a working state, but no features
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
44ab6b7c6c userland: fix kernel version to work on older ubuntu
Expose --kernel-version to allow customization.

Update LTP info.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bbdf6cdc06 userland: maybe it really works 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0c9afcf9b6 asm: prefix every linux specific with linux/ 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
abb67c14b8 preparing test_user_mode, need to generalize stuff as usual 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1d766fe3d7 userland: make build perfect 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8618025682 mtops.h is perfect now 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1cc3ee8657 rename include to lkmc 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9c8f95d630 build-userland-in-tree is now a Python command
./build calls it, we did this to allow --download-dependencies to work
perfectly.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
aea97698c3 bak 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0ef494b681 migrate all 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ecef42be81 start the big userland migration 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
146e568db8 move all our stuff into /lkmc in guest
Motivation: userland is getting several new subdirectories, it would be
too insane to just dump all of that in the guest root filesystem.

To alleviate the cd pain, .profile puts user inside /lkmc by default.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
42f8de774a userland: add ported to all archs 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3388d72bb2 asm: more links 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
549bd4a7fd x86 fail works 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5ebb9bc343 userland assembly: structure readme 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d4f698306a document userland asm syscall interfaces 2019-05-05 00:00:00 +00:00