Commit Graph

1148 Commits

Author SHA1 Message Date
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
Ciro Santilli 六四事件 法轮功
0263c21557 userland: add assembly support
Move arm assembly cheat here, and start some work on x86 cheat as well.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7a5ca339a3 submodules: use https for binutils-gdb and gcc. Fix #58. 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4943c9ed2e userland: in-tree build shortcuts from inside tree 2019-03-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9581fa201c userland: in-tree build and clean 2019-03-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
e32dcb85e9 userland: start per-directory flags with userland/gcc 2019-03-13 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
a85ca696c4 userland: move hello_cpp.cpp into cpp 2019-03-13 18:25:53 +00:00
Ciro Santilli 六四事件 法轮功
e32b1cba45 ./build-userland: resolve relative paths 2019-03-13 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
276688bb33 userland: allow selecting targets, including directories 2019-03-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
cbf6481c4b userland: fix error: ISO C does not allow extra ‘;’ outside of a function in lkmc.h for aarch64
Exposed when -pedantic was added.
2019-03-13 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
bb28e260c5 common: add --force-rebuild option to build scripts 2019-03-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
550897ce17 build-userland: multithreading
Looking ahead for when I'll move cpp-cheat C++ slowness in.

First tried with concurrent as in:
https://stackoverflow.com/questions/19369724/the-right-way-to-limit-maximum-number-of-threads-running-at-once/19370282#19370282
Implementation was easy, but I can't find out how to exit immediately on error,
so I came up with this setup instead.
2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
1a0d15ca86 userland: convert make to python 2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
0deab8f8f7 user mode: use the nonexistent symlink workaround
I was considering setting --static by default to match gem5, but then
that breaks shared libraries like openblas... so let's just use the
ugly workaround for now as it seems to work...
2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
a9160d2217 Sort all os.listdir and os.walk to keep things more reproducible 2019-03-10 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
2e3f4c1484 baremetal: refactor build to reduce duplication 2019-03-10 00:00:03 +00:00