Commit Graph

194 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
1661644ebd userland/arch/aarch64/freestanding/linux/disassembly_test.S 2020-06-03 02:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ed369cd57e userland/arch/aarch64/dump_regs.c 2020-06-03 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1341df0682 timespect_get: move from cpp-cheat 2020-06-02 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7411ad1354 virtual.cpp 2020-05-27 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b0d0e389e6 userland/linux/getcpu_syscall.c: fix build 2020-05-19 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f82258dfb4 more getcpu 2020-05-18 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ecb867e5fb python_embed: use correct flags with python3-config --embed 2020-05-14 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f17e68a109 pure getcpu() example 2020-05-13 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
f0e6ee9fb2 cpu register interface
pthread_barrier
2020-05-06 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
988b97c068 fix userland/cpp/atomic/aarch64_add.cpp which can fail but was asserting 2020-04-29 04:00:03 +00:00
Ciro Santilli 六四事件 法轮功
d0aac8d6f9 master gem5 ThreadContext vs ThreadState vs ExecContext vs Process! 2020-04-24 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cc78fe7d81 sched_getcpu: input and sample outputs 2020-04-17 05:00:04 +00:00
Ciro Santilli 六四事件 法轮功
547ac466ef sched_getcpu example 2020-04-17 03:00:02 +00:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
d09a0d97b8 learn more c++, it never ends 2020-03-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
33f9862974 gem5: benchmark hdf5 stats 2020-03-16 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
3aa9fbf972 busy_loop: fix type of loop variable! 2020-03-14 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
f9acdc0525 start microbenchmarks section 2020-03-12 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
44ac89eb72 cpp: initializer list constructor 2020-02-28 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
75b081f171 cpp: most vexing parse 2020-02-27 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
d67a81cee3 pure_cpp.cpp: typo 2020-02-27 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
f69982fb63 pure_cpp: maybe it works?!? 2020-02-27 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
743d41edd8 pure_cpp: prepare for object move 2020-02-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
37c25541c7 pure.c: custom getsetters 2020-02-26 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
9f934c7cd6 cython: hello world and primes examples 2020-02-26 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
6f691eb7d8 pybind11 example: add inheritance 2020-02-26 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
788087c6f4 kernel too old typos 2020-02-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7427fa135a c++ typecast 2020-02-26 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
7c6bb29bc8 python_embed: managed to pass arguments to base constructor 2020-02-25 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
7c93912413 embedding python move from python-cheat 2020-02-24 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
b468b5bc95 pybind11: disable LKMC build 2020-02-24 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7fbce888cf hdf5 2020-02-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
04a8521905 pybind11: fix and generalize example 2020-02-21 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
8447a9a8a7 userland: freestanding gem5 checkpoint restore examples 2020-02-20 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
756ecea195 pybind11: keep files in tree just for future reference, not properly automated yet 2020-02-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fc98b543d1 profiling: start 2020-02-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d29a07ddad userland/arch/aarch64/inline_asm/futex_sev.cpp 2020-01-14 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
270421ccc3 arm: sevl_wfe.S example 2020-01-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cc1d34f862 fix wfe_ldxr_* examples with sevl to make things more hardware independant 2020-01-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3b3f073e2c userland/arch/aarch64/freestanding/linux/gem5_exit.S to benchmark immediate gem5 exit
ldxr_stxr does an ldxr on thread 0 to fall in the ISA case where event is certain.

Also add ldxr_str which tests yet another case where event is certain: non conditional
write.
2020-01-10 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ae758f589a boost: start 2020-01-08 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
0cb0c373f6 std::set hello world example 2020-01-08 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
268355e53b wfe_ldrex_strex.cpp 2020-01-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
777b7cbbd1 futex: fix example, could go wrong in theory
Start std::memory_order stub...
2019-12-18 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
a59c773124 userland/arch/aarch64/inline_asm/reg_var.c: use 64 bit variables
32-bit ones likely copy paste error from coming from arm v7.

Also create userland/arch/aarch64/inline_asm/int_32.c:

Also create aarch64_ldaxr_stlxr.cpp and start documenting LDAXR and STLXR.
2019-12-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5e39c1b911 create m5ops.cpp to count instructions before main
C++ has 2M while C has 100k.
2019-12-17 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ab6f733140 futex: move required includes to header 2019-12-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
89a981aaf2 arm WFE: add some userland examples 2019-12-16 00:00:00 +00:00