Commit Graph

754 Commits

Author SHA1 Message Date
Ciro Santilli
38c3a7b969 getting started: .zip download from github does not work 2018-07-31 15:47:30 +01:00
Ciro Santilli
071106d6e3 configure: install python pip 2018-07-31 15:37:50 +01:00
Ciro Santilli
39762d2f15 gdb: start linux kernel scripts section.
Investigate thread awareness
2018-07-25 11:24:33 +01:00
Ciro Santilli
0dfbd93afe failed sched_getaffinity_threads attempt
Better eigen naming.
2018-07-22 19:54:59 +01:00
Ciro Santilli
787b989df7 arm: failed attempt to run arm executable in aarch64 2018-07-22 16:55:31 +01:00
Ciro Santilli
802fe1fda0 eigen: fix dont build if lib is not selected 2018-07-22 16:01:46 +01:00
Ciro Santilli
d330f8d250 Use absolute paths for . common
Otherwise it can pick up other common in PATH first...
2018-07-22 10:42:46 +01:00
Ciro Santilli
291de25ac7 disable termout logging when debugging vm 2018-07-20 18:29:33 +01:00
Ciro Santilli
e376e25ca2 run: add timestamps before each log message
Also time every run by default.
2018-07-19 08:07:31 +01:00
Ciro Santilli
a51526c600 qemu user gdb example 2018-07-13 17:25:03 +01:00
Ciro Santilli
7a53483ba8 README: step debug dynamic loader stub 2018-07-12 16:36:56 +01:00
Ciro Santilli
4e897e85fb sched_getaffinity: multicore userland breakpoint actually worked this time
Move docs to README
2018-07-10 15:40:58 +01:00
Ciro Santilli
d34a8a3e9f move doc of userland physical address tests to README 2018-07-10 13:44:17 +01:00
Ciro Santilli
6045b9fa3d uio: move docs for this disgraceful failed example to README 2018-07-09 17:54:17 +01:00
Ciro Santilli
839271efd6 rand_check: move docs to readme, create norandmaps section 2018-07-09 17:44:34 +01:00
Ciro Santilli
7b8811ee3d rename init_dev_kmsg to time_boot and move doc to README 2018-07-09 17:03:50 +01:00
Ciro Santilli
be6319ab89 move doc for inits and sanity checks to README 2018-07-09 16:59:13 +01:00
Ciro Santilli
f2bf644cfd Review and link kernel_module/user examples to README 2018-07-09 14:47:45 +01:00
Ciro Santilli
258add9c9d wait queue: move docs to README
Do just one example with 2 waits, my readers can handle it :-)
2018-07-08 09:58:07 +01:00
Ciro Santilli
f59ca5a214 timer: move doc to README 2018-07-07 19:23:04 +01:00
Ciro Santilli
7d16a5c024 Move sleep and workqueue module doc to README
sleep was broken because the workqueue was declared locally inside init,
further evidence that no one has ever run the examples :-(
2018-07-07 19:04:58 +01:00
Ciro Santilli
0ccbc04da0 move schedule() doc to README 2018-07-07 18:15:29 +01:00
Ciro Santilli
9c62b82036 memcpy_overflow failed fortify source attempt 2018-07-06 11:24:02 +01:00
Ciro Santilli
5d9418b276 bring CONFIG_FORTIFY_SOURCE back from accidental removal...
Notice that it is not working anymore.

Rename pci.c into qemu_edu.c

Organize kernel_module readmes further
2018-07-06 10:23:35 +01:00
Ciro Santilli
9b4c1984fc Improve file operation intro
Done while answering: https://stackoverflow.com/questions/3290590/what-options-do-we-have-for-communication-between-a-user-program-and-a-linux-ker/51206012#51206012
2018-07-06 09:26:44 +01:00
Ciro Santilli
59960b808c Move characte devices next to pseudo filesystems 2018-07-06 09:01:49 +01:00
Ciro Santilli
e05eb91add netlink: move docs to README 2018-07-06 08:56:22 +01:00
Ciro Santilli
3d4e0c095d kprobe: update example with px
Going to try and upstream this later on
2018-07-05 09:49:59 +01:00
Ciro Santilli
046bc25b6b virt_to_phys: fix %p vs %px
Move doc to README
2018-07-05 03:42:26 +01:00
Ciro Santilli
65fc5b8527 ring0: move docs to readme 2018-07-05 02:43:38 +01:00
Ciro Santilli
237b27869e kstrto: move doc to README 2018-07-05 02:42:28 +01:00
Ciro Santilli
6c241279a6 split kernel module api docs to README 2018-07-04 10:03:02 +01:00
Ciro Santilli
8f37cd0d22 panic: fix forgotten comment 2018-07-02 22:13:17 +01:00
Ciro Santilli
efc37fa5a7 Move link doc of printk related modules to README 2018-07-01 20:50:02 +01:00
Ciro Santilli
410b662db2 Move panic and family docs to README 2018-07-01 20:45:49 +01:00
Ciro Santilli
50cb67e2e2 mmap: move doc to README 2018-07-01 20:38:16 +01:00
Ciro Santilli
ad55d48ae5 We are making module documentation self evident
Remove this now before we forget to remove it when we are done with the refactor
2018-07-01 20:04:05 +01:00
Ciro Santilli
2075fbaf5b Move poll, ktrhead and kthreads docs to README 2018-07-01 20:01:49 +01:00
Ciro Santilli
ae3c03bdb0 anonymous inode: fix kbuf size for nul 2018-07-01 17:51:08 +01:00
Ciro Santilli
d840b0cb65 ioctl: move doc to README 2018-07-01 17:44:38 +01:00
Ciro Santilli
084e3faf5a seq_file: move doc to README 2018-07-01 16:46:15 +01:00
Ciro Santilli
923f655811 anonymous inode: move doc to readme 2018-07-01 16:10:29 +01:00
Ciro Santilli
662d4f25a1 prebuilts: improve doc 2018-07-01 13:52:54 +01:00
Ciro Santilli
8f21c4f0cb fops: sh -x is fun 2018-06-29 10:47:35 +01:00
Ciro Santilli
9a4eae50c8 Move debugfs, rootfs and procfs documentation to README 2018-06-29 09:56:41 +01:00
Ciro Santilli
0cd1a2b602 kernel module: fix fops... and move its documentation into README
Sometimes I wonder if anyone has ever run this tutorial, otherwise how
can such basic bugs persist for so long?

test_all.sh: crete
2018-06-29 08:47:32 +01:00
Ciro Santilli
7f3671894f kernel_module: move character device example doc to README 2018-06-29 07:28:09 +01:00
Ciro Santilli
20b9961233 run: fix extra emulator args that were broken by -X 2018-06-27 17:58:54 +01:00
Ciro Santilli
1721f184d6 gem5: track build and run variants separately with -M and -N
Otherwise, checking out branches is too insane, as it does not
update the worktrees, even though the gem5/gem5 module was updated.

gem5: expose build types, document debug builds.

simultaneous runs: store stdout and stderr on a file to allow running
all from a single terminal on the background cleanly.
2018-06-27 16:31:24 +01:00
Ciro Santilli
71e927e63b gem5: fix trace file path on common 2018-06-27 13:34:49 +01:00