Commit Graph

668 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
b5f5f6a5bc userland: attempt to fix all assembly example links to README 2019-05-12 00:00:08 +00:00
Ciro Santilli 六四事件 法轮功
180e26590a move more arm in 2019-05-12 00:00:07 +00:00
Ciro Santilli 六四事件 法轮功
64855767b4 arm assembly: move some more in 2019-05-12 00:00:06 +00:00
Ciro Santilli 六四事件 法轮功
192a657250 start moving arm-assembly-cheat readme in here 2019-05-12 00:00:05 +00:00
Ciro Santilli 六四事件 法轮功
a13e99ec1c assembly SIMD add: make uniform for all ISAs, mark as entry point to learning SIMD 2019-05-12 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
1ab7fbf607 Fix import_path circular dependency by splitting it out.
Use import thread_pool instead from, from is evil.

Fix poweroff.out path for ./trace-boot.
2019-05-12 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
7cf3c20a40 x86 assembly: addpd 2019-05-12 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
fe9c31f737 fix run-toolchain, qemu-monitor, trace-boot, trace2line, bisect-linux-boot-gem5. Fixes part of #63
I'm sad no one reported qemu-monitor break, that one is kind of important.

count.out arguments broke it as an init program, since the kernel adds trash
parameters to every init.

Is anyone using this repo, I wonder? Keep pushing, keep pushing.
One day it gets good enough, and the whole world will see.
2019-05-12 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3cc1b793cb Get rid of imp, started giving deprecation warning every time in Python 3.7 in Ubuntu 19.04.
Please python stop torturing me with refactors.

Make ./run -u blow up if executable not found, otherwise I go crazy.

Get ./test-gdb back to life after the ./run relative path refactor, forgot to test this.
2019-05-11 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
300671cd39 x86 paddq: test entire family 2019-05-11 00:00:00 +00:00
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 六四事件 法轮功
887dd8a31f test-user-mode: handle exit status for signals. Fix #61. 2019-05-08 00:00:04 +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 六四事件 法轮功
22b86c06c1 readme: releases are more stable... 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0e84c413e4 waste your life 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 六四事件 法轮功
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 六四事件 法轮功
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 六四事件 法轮功
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 六四事件 法轮功
8509f17a84 userland: native testing 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 六四事件 法轮功
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 六四事件 法轮功
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 六四事件 法轮功
5ebb9bc343 userland assembly: structure readme 2019-05-05 00:00:00 +00:00