Ciro Santilli 六四事件 法轮功
eb087db68f
userland: make userland content a better landing page
2019-05-14 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
c17ee0bdce
userland: disable PIE explicitly on command line for all executables
2019-05-14 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
91986fb295
Make userland / assembly getting started more uniform / visible
...
Forward --gcc-which to ./run --tmux.
Use gdb-multiarch for --gcc-which host.
2019-05-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9f9db3680d
ld2 move in
2019-05-12 00:00:10 +00:00
Ciro Santilli 六四事件 法轮功
11359838a1
assembly: improve organization of simd add
2019-05-12 00:00:09 +00:00
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 六四事件 法轮功
b14f68f9bf
run: rename cryptic tmu to tmux-split, ./run is good now so I never use it anymore explicitly
2019-05-12 00:00:03 +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 六四事件 法轮功
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