Commit Graph

679 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
6aa2f783a8 x86 asm: CPUID mov in from x86-assembly-cheat 2019-06-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3084762bef x86 asm: reorg README to match manual more closely a bit 2019-06-16 00:00:07 +00:00
Ciro Santilli 六四事件 法轮功
0d4ad3e7e2 x86 asm: move POPCNT in from x86-assembly-cheat 2019-06-16 00:00:06 +00:00
Ciro Santilli 六四事件 法轮功
76c7cfe5aa x86 asm: move NOP in from x86-assembly-cheat 2019-06-16 00:00:05 +00:00
Ciro Santilli 六四事件 法轮功
ef4fa33ef7 x86 asm: move RDTSC from x86-assembly-cheat, create RDTSCP 2019-06-16 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
658ac53d0f x86 asm: move rotation and bit instructoins in from x86-assembly-cheat 2019-06-16 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
89084d2332 baremetal aarch64: timer.c get closer to working 2019-06-16 12:29:10 +01:00
Ciro Santilli 六四事件 法轮功
4d4b82f248 x86 asm: move rdrand from x86-assembly-cheat 2019-06-16 12:28:53 +01:00
Ciro Santilli 六四事件 法轮功
4ee1e06299 x86 asm: move loop from x86-assembly-cheat 2019-06-16 12:28:53 +01:00
Ciro Santilli 六四事件 法轮功
89a7cf0936 x86 asm: improve jcc 2019-06-15 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
58418b2a8d x86 asm: move jcc from x86-assembly-cheat 2019-06-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9dd63f6f54 x86 asm: move jmp from x86-assembly-cheat 2019-06-12 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
5f50217fdd x86 asm: logical instructions move from x86-assembly-cheat 2019-06-12 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
cefb1a823d x86 asm: move cmp from x86-assembly-cheat 2019-06-12 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
0028ff0ebd x86 asm: move binary arithmetic instructions from x86-assembly-cheat except cmp 2019-06-12 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
038c23729b extract-header-ids: readme typos 2019-06-09 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
79cade9e46 aarch64: mention stack alignment 2019-06-09 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
5f935ee53d readme: verify all non-README links with asciidoctor/extract-header-ids and git grep
Fix all the ~30 failures it found!
2019-06-09 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1a739e7866 aarch64 timer: furthen the attempt 2019-06-07 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
8dacd71fd0 README: typo on C main 2019-06-07 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
43fa1bf81a arm baremetal bibliography: improve a bit 2019-06-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a3780d6de7 aarch64: fix bus error on aarch64 in ThunderX2 misaligned PC
The error happened at: userland/arch/aarch64/lkmc_assert_eq_fail.S but
it does not happen in QEMU userland nor full system, not sure why.
2019-06-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3793b74654 baremetal: improve headers and test docs 2019-06-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9fba97740c file_write_read.c: move from cpp-cheat
Improve README C section with example tree.
2019-06-07 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
2a27157dbf asciidoctor: document exact version to install with gem
We also have the Gemfile, but I don't want to make people go through
the superior NVM bundler setup right now.
2019-06-07 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
77ef0dadf1 readme: make local file links work relative to out/
Thanks to awesome help at:
https://github.com/asciidoctor/asciidoctor/issues/3324
2019-06-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
43ff5ced56 pmccntr: make section title clearer 2019-06-06 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
bc72790e81 x86 asm: start moving in binary arithmetic instructions 2019-06-06 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
82129820ca x86 asm: address modes, LKMC_ASSET_EQ_32 and intel manuals 2019-06-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
47b39a84c9 x86 asm: mov 2019-06-03 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
39de6f6abf gdbserver: get back to life
run-gdbserver is dead, converted to ./run --gdbserver --userland

I'm so happy, this refactor was so easy due to previous good code structure.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/63
2019-06-02 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
7fda133215 run-gdb-user: killed it, all that was needed was to pass --userland
Fixes part of https://github.com/cirosantilli/linux-kernel-module-cheat/issues/63
2019-06-02 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
819ef42ea4 kernel modules: hack up quick floating point example 2019-06-02 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
3c5ec40ad8 tagline: link to c cpp and posix 2019-06-01 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
6204b9ad6f x86 simd: link to SSE getting started question on SO 2019-06-01 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
ddae0d52f2 x86 asm: intrinsics from memory 2019-06-01 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
a90271c6af asm: start x86 intrinsics examples
Split userland/arch/<arch>/c/ into inline_asm and intrinsics, and move programs
that don't match either up.
2019-05-31 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1f55dec44c arm: thumb understanding++ 2019-05-30 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
e5682cb5cb readme: link to new procfs SE answer 2019-05-29 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
4d001f521f gem5: update to 08c79a194d1a3430801c04f37d13216cc9ec1da3
Fix gem5 userland fatal: kernel too old.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/64
gem5 x86 boot fails with: "Assertion `locked && curr_frag_id == 0' failed

So we are now back to mainline gem5!
2019-05-29 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
fedb68c62c merge test-user-mode and test-baremetal into test-executables
Differentiate with --mode userland vs --mode baremetal.

The code was basically copied, now it's DRY.
2019-05-29 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
6994dc21af test-gdb: can now run in either userland or baremetal modes
Selection with --mode userland (default because has x86_64) or --mode baremetal.

This is the first userland tool where this choice is done on the command line,
which led to a refactor of supported_archs and is_baremetal and is_userland
into a single self.env['mode'].
2019-05-29 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
04c54a6369 test-user-mode: classify and skip all failing gem5 tests
Create userlan/posix/kill.c to better test signals.
2019-05-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cc1d8d08d0 test-gdb: bring back to life
Well factored with ./test-baremetal, allowing for target selection.
2019-05-27 00:00:05 +00:00
Ciro Santilli 六四事件 法轮功
24b75f92d8 arm asm el: document virtualization failure after FP enable patch 2019-05-27 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
6e790042f0 x86 asm: align stack to 16-bits for abort() call
Fixes the failing tests that called abort(). For coincidence, only native
tests were failing.

Asked at: https://stackoverflow.com/questions/56324948/why-does-calling-the-c-abort-function-from-an-x86-64-assembly-function-lead-to
2019-05-27 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
8eb312c58d baremetal: move aarch64 el.c into dump_regs.c
Also start disassembling registers nicely dump_regs so we can have a
single executable to handle all register queries.
2019-05-27 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
00b1d43164 readme: create asciidoctor-extract-links to find broken links and fix all of them.
Oh yeah.
2019-05-26 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
dbfec89e03 baremetal: fix getting started after userland unification 2019-05-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8138e68810 update kernel version everywhere 2019-05-25 00:00:02 +00:00