138 Commits

Author SHA1 Message Date
2eff007f7c GEM5 checkpoint switch to HPI for benchmarking.
Don't pass -e on checkpoint restore.

Add benchmarks to how much GEM5 is slower than QEMU.

Rename Kernel boot command line arguments to match kernel docs name.

Document how to pass extra options to GEM5.

Start listing interesting benchmarks to run on GEM5.

Add an openmp hello world.
2018-02-25 10:59:28 +00:00
6420c31986 GEM5 gdb debug
Improve GEM5 documentation in general.

Fix documentation for x86 kernel module debugging example, fop_write had been made static,
and use timer.ko instead of fops which is more reliable and fun.
2018-02-22 10:05:57 +00:00
66e7208364 Make aarch64 boot again and explain its limitations better.
Restore lkmc_min that was accidentaly removed.

Explain how to remove modules that fail to build.
2018-02-14 07:56:35 +00:00
254c8bf42e adoc
Semi automated conversion, in part because Pandoc is kind of buggy for adoc:

Some of the commands were along the lines:

    for f in *.md; do pandoc --atx-headers --base-header-level=3 -o ${f%.md}.adoc --wrap=none $f; done
    sed -Ei '/\[\[.*\]\]/d' *.adoc
    while read -r f; do cat $f; echo; done <f >g
2018-02-14 04:26:07 +00:00
dc495f9334 Linux v4.15 2018-01-31 23:21:11 +00:00
12abf43b78 Attempt migration to Buildroot 2017.08 + kernel 4.12.
Build fails at: https://git.busybox.net/buildroot/commit/?id=c128c5f3c79b31d89256ffbc5c650ba613d3d52b
2017-11-16 00:57:03 +00:00
2e04c96fad MODULE_VERSION and srcversion 2017-11-13 15:49:22 +00:00
98756d2454 Fix workqueue_cheat README link 2017-11-13 14:34:56 +00:00
844b7c0411 Fix workqueue cheat link 2017-11-13 14:34:25 +00:00
fa0a7e150d Less converstaion 2017-11-13 14:25:24 +00:00
9ec43c4e88 lkmc_platform_device read example 2017-11-11 14:11:23 +00:00
d8da713cf7 bak 2017-11-11 12:08:02 +00:00
0d7259fe81 Remove runqemu from build... document platform_device.c a bit further, add a modprobe.conf test 2017-11-11 11:11:06 +00:00
42051b51ed travis 9: bash -x debugging, make-host make nproc optional 2017-11-02 16:44:44 +00:00
a8fe6cce28 Add userland hello world sanity check 2017-10-08 22:19:48 +01:00
f3253d5109 rand_check pid 2017-10-07 07:21:08 +01:00
62976c688b update to qemu v2.9.0! rand_check.c, init_forward.sh 2017-10-07 04:11:08 +01:00
88cd83cd02 init_dev_kmsg 2017-10-01 22:27:25 +01:00
f96d4d55c9 Rm useless init.sh, init_hello and poweroff are not init specific, so rename them more generically 2017-10-01 09:16:07 +01:00
cbea7cc02c your inits are belongz to uz 2017-09-30 21:27:12 +01:00
f80957cc40 frace docs an mmap minor improvements 2017-09-29 23:36:34 +01:00
8d668d6ed3 Use busybox devmem 2017-08-08 11:56:01 +01:00
a5b2038eab Fix character_device_create.c with missing cdev_del 2017-08-06 12:58:13 +01:00
f67d99ff24 character device failure TODO, mknoddev use awk 2017-08-06 12:41:05 +01:00
dab04d1852 character_device_create 2017-08-06 12:21:05 +01:00
b2459d07f5 Add a non-root user user0 password "a" 2017-08-06 10:19:37 +01:00
879001563a Attempt uio with devmem. I give up on UIO for now 2017-08-05 23:06:47 +01:00
c6edbfddb0 devmem3 cleanup further 2017-08-05 21:24:16 +01:00
d871c008fb devmem3 2017-08-05 21:18:57 +01:00
83411a0597 sketch uio 2017-08-05 12:32:24 +01:00
1f4f7faeba Document pagemap futher 2017-08-04 08:21:20 +01:00
bb419de1fe Dont override CC for user make 2017-08-04 07:45:13 +01:00
0bb3e8519a Host insane unsafe usage 2017-08-03 04:37:50 +01:00
dfc4981e46 usermem use virt_to_phys_user 2017-08-01 07:56:23 +01:00
25f9913e0c virt_to_phys_user 2017-07-30 23:34:46 +01:00
7d6449d47b bak 2017-07-30 13:34:51 +01:00
46bf3f700e mmap example works 2017-07-30 11:23:31 +01:00
41742640cf mmap gets called, now lets make it actually work 2017-07-27 15:10:41 +01:00
75afeba635 sysfs 2017-07-27 15:10:00 +01:00
4727fadcc8 procfs example, S99 symlink 2017-07-27 09:21:40 +01:00
ab6cb2626f failed mmap fop attempt 2017-07-27 00:25:36 +01:00
91583552ba Start failed PCI DMA attempt, add -Werror 2017-07-18 09:03:22 +01:00
0677dbd4b5 virt_to_phys only works for kmalloc 2017-07-16 12:49:09 +01:00
2eca9280e1 virt_to_phys.sh also works with nopat 2017-07-16 11:32:12 +01:00
058c759ec9 devmem on userland memory...!!!!!! 2017-07-16 07:53:52 +01:00
1428e7a3b5 pagemap_dump! 2017-07-16 07:53:52 +01:00
105341b7ae pagemap_dump! 2017-07-15 12:37:21 +01:00
d189b651ec bak 2017-07-15 10:48:42 +01:00
5ec0858244 virt_to_phys improve failed attempte to use kmalloc, but still fails 2017-07-14 13:49:10 +01:00
63d8bbfc89 Move module license to bottom 2017-07-14 13:05:05 +01:00