228 Commits

Author SHA1 Message Date
b1048d344c stall examples: use underscore instead of hyphen 2020-11-27 00:00:00 +00:00
39073519b1 GoogleTest hello world.
./build and ./test work automatically when cwd is inside userland/libs/XXX
without --package-all.
2020-11-25 00:00:00 +00:00
fa8c2ee521 rule_of_five 2020-11-24 00:00:00 +00:00
2abb994752 stuff 2020-11-20 00:00:00 +00:00
367df352d3 perf_event_open: generalize to multiple events 2020-11-18 00:00:01 +00:00
d4a27987d6 play a bit with the ARM PMU 2020-11-18 00:00:00 +00:00
95430c7c0c custom_iterator 2020-11-10 00:00:00 +00:00
ab5ff0c28b sfinae hello world 2020-10-20 03:00:02 +00:00
6c831c4e66 decltype 2020-10-20 02:00:01 +00:00
5562474994 cpp: map, multimap, move in from cpp-cheat 2020-09-25 01:00:00 +00:00
58e82a5b91 adrp/lo12 combo 2020-09-02 01:00:00 +00:00
ad53aa82f9 pybind11: move to PYBIND11_MODULE to get rid of deprecation warnings 2020-08-28 01:00:00 +00:00
4f82f79be7 readme: underscore to - on all title ids 2020-08-13 02:00:01 +00:00
2e47f4f894 Greatly improve Add new files to the Buildroot image 2020-08-13 01:00:00 +00:00
ea989d7541 gem5: one concrete minimal example of a coherentxbar snoop 2020-08-12 02:00:01 +00:00
476e109c81 mark physical address stuff as BSD 2020-08-06 02:00:01 +00:00
b5d6fcd7d8 Coremark: start
Fix --emulator native.

Add baremetal/arch/aarch64/contextidr_el1.c
2020-07-24 01:00:00 +00:00
988359440b A bunch of gem5 o3 example timelines. Not fully understood, but a good start. 2020-07-15 01:00:00 +00:00
144a552cf9 More on O3, create a simple hazard and hazardless microbenchs to study pipeline 2020-07-14 01:00:00 +00:00
8cbf47265f poll kernel module: overhaul with prints everywhere 2020-07-11 02:00:01 +00:00
abf274ab7a futex_ldxr_stxr.c: fully reproducible in dynamically linked simulation 2020-06-25 12:00:11 +00:00
15ffa40b6e inline_asm: remember register variables :-) 2020-06-25 10:00:09 +00:00
3eca3b8124 inline_asm: add missing "memory" constraints 2020-06-25 09:00:08 +00:00
c9d15228ab userland/arch/aarch64/inline_asm/futex_ldxr_stxr.c 2020-06-25 04:00:03 +00:00
09cbc26819 wfe ldxr minor improvements 2020-06-25 03:00:02 +00:00
1e170967d3 minor: start more hardcore trace analysis 2020-06-12 01:00:00 +00:00
ce3ea9faea Comment on gem5's broken GDB on secondary core
Try to assert on all C programs if thread creation failed. C++ already
throws by default.
2020-06-11 01:00:00 +00:00
0a3ce2f41f functional units stub 2020-06-10 02:00:01 +00:00
6a5b9673c7 improve gem5 memory model and cpufreq experiments 2020-06-10 01:00:00 +00:00
eb22fd3b6e environ: link to from readme 2020-06-08 01:00:00 +00:00
0d5c7f5c4c Detailed gem5 analysis of how data races happen
And pass niters as a thread argument to all threading implementations...
otherwise every loop has to do a memory load from the global!
2020-06-05 06:00:05 +00:00
9bff1e9a1a disassembly_test: a bit more stuff 2020-06-05 01:00:00 +00:00
6202b44eba a quick C cat 2020-06-03 07:00:06 +00:00
17ed296e2d boog -> boot 2020-06-03 06:00:05 +00:00
1661644ebd userland/arch/aarch64/freestanding/linux/disassembly_test.S 2020-06-03 02:00:01 +00:00
ed369cd57e userland/arch/aarch64/dump_regs.c 2020-06-03 01:00:00 +00:00
1341df0682 timespect_get: move from cpp-cheat 2020-06-02 01:00:00 +00:00
7411ad1354 virtual.cpp 2020-05-27 01:00:00 +00:00
b0d0e389e6 userland/linux/getcpu_syscall.c: fix build 2020-05-19 01:00:00 +00:00
f82258dfb4 more getcpu 2020-05-18 01:00:00 +00:00
ecb867e5fb python_embed: use correct flags with python3-config --embed 2020-05-14 01:00:00 +00:00
f17e68a109 pure getcpu() example 2020-05-13 01:00:00 +00:00
6275f70ed8 pagemap: was missing one bit in lkmc_pagemap_get_entry for pfn
Credits to Phidelux:
https://stackoverflow.com/questions/6284810/proc-pid-pagemaps-and-proc-pid-maps-linux/45500208?noredirect=1#comment109030479_45500208
2020-05-09 01:00:00 +00:00
f0e6ee9fb2 cpu register interface
pthread_barrier
2020-05-06 01:00:00 +00:00
988b97c068 fix userland/cpp/atomic/aarch64_add.cpp which can fail but was asserting 2020-04-29 04:00:03 +00:00
d0aac8d6f9 master gem5 ThreadContext vs ThreadState vs ExecContext vs Process! 2020-04-24 01:00:00 +00:00
cc78fe7d81 sched_getcpu: input and sample outputs 2020-04-17 05:00:04 +00:00
547ac466ef sched_getcpu example 2020-04-17 03:00:02 +00:00
66473201eb dhrystone baremetal!!!
Factor out --optimization-level and --static to all builds

More conventionally set argv[0] to be the basename of the image.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/90
2020-04-02 03:00:02 +00:00
e1d0a2fafb userland/freestanding/gem5_* work on baremetal
Remove all the duplicates of those present throughout the tree.
2020-03-26 00:00:01 +00:00