Commit Graph

46 Commits

Author SHA1 Message Date
Ciro Santilli
50f2518656 kernel_module, sample_package: correctly forward Buildroot -O and -g flags
readme: improve optimization documentation
2018-04-17 15:05:27 +01:00
Ciro Santilli
72e9fcc4b0 proc_events.c: comment out aarch64 2018-04-17 09:22:20 +01:00
Ciro Santilli
0111ca406b CONFIG_PROC_EVENTS 2018-04-16 13:38:04 +01:00
Ciro Santilli
24cdcdc756 readme: document rdtsc 2018-04-16 00:48:10 +01:00
Ciro Santilli
51e31cdc29 x86_64: rdstc
arm: attempt pmccntr, but didn't work, TODO why: no QEMU support?
2018-04-15 14:10:21 +01:00
Ciro Santilli
a08a87dc0f readme: more info on kernel panics, oops an backtraces.
myinsmod: use either finit or init
2018-04-14 19:11:13 +01:00
Ciro Santilli
7b0bd10c0b ring0 priviledged actions 2018-04-13 14:27:03 +01:00
Ciro Santilli
36940cb322 Get rid of Maintainers section for lower level headers
Move benchmark this repo out of conversation, there is plenty of action there!

Move kernel module sections and buildroot sections out of conversation.

Document the instruction count between baseline Buildroot and our monstrosity.

Put ./count-boot-instructions in a separate script.

Link to MIPS graphics QEMU question.

Link to VFIO QEMU question.
2018-03-18 15:14:20 +00:00
Ciro Santilli
e8f09a76e6 Add a shortcute for /eval.sh
Create /eval_base64.sh to overcome quoting and newline limitations.

Documente poweroff's failure on readme.
2018-03-14 21:13:45 +00:00
Ciro Santilli
039b8a498c OpenBLAS
Also don't add br2_local by default, default params are insane.
2018-03-14 12:26:49 +00:00
Ciro Santilli
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
Ciro Santilli
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
Ciro Santilli
a8fe6cce28 Add userland hello world sanity check 2017-10-08 22:19:48 +01:00
Ciro Santilli
f3253d5109 rand_check pid 2017-10-07 07:21:08 +01:00
Ciro Santilli
62976c688b update to qemu v2.9.0! rand_check.c, init_forward.sh 2017-10-07 04:11:08 +01:00
Ciro Santilli
88cd83cd02 init_dev_kmsg 2017-10-01 22:27:25 +01:00
Ciro Santilli
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
Ciro Santilli
cbea7cc02c your inits are belongz to uz 2017-09-30 21:27:12 +01:00
Ciro Santilli
8d668d6ed3 Use busybox devmem 2017-08-08 11:56:01 +01:00
Ciro Santilli
b2459d07f5 Add a non-root user user0 password "a" 2017-08-06 10:19:37 +01:00
Ciro Santilli
879001563a Attempt uio with devmem. I give up on UIO for now 2017-08-05 23:06:47 +01:00
Ciro Santilli
c6edbfddb0 devmem3 cleanup further 2017-08-05 21:24:16 +01:00
Ciro Santilli
d871c008fb devmem3 2017-08-05 21:18:57 +01:00
Ciro Santilli
83411a0597 sketch uio 2017-08-05 12:32:24 +01:00
Ciro Santilli
1f4f7faeba Document pagemap futher 2017-08-04 08:21:20 +01:00
Ciro Santilli
bb419de1fe Dont override CC for user make 2017-08-04 07:45:13 +01:00
Ciro Santilli
0bb3e8519a Host insane unsafe usage 2017-08-03 04:37:50 +01:00
Ciro Santilli
dfc4981e46 usermem use virt_to_phys_user 2017-08-01 07:56:23 +01:00
Ciro Santilli
25f9913e0c virt_to_phys_user 2017-07-30 23:34:46 +01:00
Ciro Santilli
7d6449d47b bak 2017-07-30 13:34:51 +01:00
Ciro Santilli
46bf3f700e mmap example works 2017-07-30 11:23:31 +01:00
Ciro Santilli
41742640cf mmap gets called, now lets make it actually work 2017-07-27 15:10:41 +01:00
Ciro Santilli
ab6cb2626f failed mmap fop attempt 2017-07-27 00:25:36 +01:00
Ciro Santilli
2eca9280e1 virt_to_phys.sh also works with nopat 2017-07-16 11:32:12 +01:00
Ciro Santilli
058c759ec9 devmem on userland memory...!!!!!! 2017-07-16 07:53:52 +01:00
Ciro Santilli
1428e7a3b5 pagemap_dump! 2017-07-16 07:53:52 +01:00
Ciro Santilli
105341b7ae pagemap_dump! 2017-07-15 12:37:21 +01:00
Ciro Santilli
5941e09d37 yeah, devmem already exists with almost same name and correct :-) 2017-07-12 00:26:12 +01:00
Ciro Santilli
88f1211409 devmem to tabs 2017-06-28 07:16:59 +01:00
Ciro Santilli
9b11287795 cant edit memory 2017-06-27 21:32:30 +01:00
Ciro Santilli
92002a6822 /dev/mem 2017-06-27 21:27:30 +01:00
Ciro Santilli
be105c7106 myinsmod takes params 2017-06-15 07:54:38 +01:00
Ciro Santilli
1f1cf4b0bd Anonymous inode! 2017-06-13 09:44:29 +01:00
Ciro Santilli
1fb095f969 user doc 2017-06-12 09:00:15 +01:00
Ciro Santilli
7d2f79dec9 ioctl example complete! 2017-06-12 08:58:56 +01:00
Ciro Santilli
95a1840683 Rename test to user 2017-06-12 06:59:19 +01:00