12 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
6bc2674182 arm timer: get closer to wokring on gem5
Base addresses were wrong to start with.
2019-09-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7ffee0c473 gic: rename gicv3 to gic, move board.h into gic 2019-09-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f28191a735 baremetal aarch64: create C version of multicore.S as well
Attempted to do the same for arm, but it failed.
2019-08-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
975b15b814 arm timer is working on QEMU gicv2!!! 2019-08-09 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
84f88e5770 fix arm timer baremetal! 2019-08-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
75e2582970 arm gic: get closer to working, still failing though
Define print functions for all system regs.
2019-07-31 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3b93a2d65a avm svc: fully study and understand QEMU traces
Preparation for timer. Timer is almost working it seems, just need to
ACK the interrupt most likely: it is firing like mad that's all.
2019-07-30 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
b38e2b0da9 arm baremetal: SVC explain where the imm16 can be retrieved
Use upper case hex literals on all PRIXnn.

.gitignore /out.docker
2019-07-16 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
89084d2332 baremetal aarch64: timer.c get closer to working 2019-06-16 12:29:10 +01:00
Ciro Santilli 六四事件 法轮功
1a739e7866 aarch64 timer: furthen the attempt 2019-06-07 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
e855a262fd aarch64 baremetal svc factored out for C and asm 2019-02-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
da900a579c LKMC v3.0
This is a squash commit, the unsquashed development went through many
unstable phases which would break bisects. The unsquashed branch is:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/v3.0-unsquash

The main improvement of this release was to greatly generalize the testing system.

The key addition was cli_function.py, which allows scripts such as ./run to
be transparently called either from Python or from the command line.

New tests scripts were created using this improved framework: test-baremetal
and test-user-mode.

We were lazy to port some of less important tests to the new setup, TODO's were
added, and we need comes they will be fixed. Getting started is however sacred
as usual and should work.

Other changes include:

-   gem5: update to 7fa4c946386e7207ad5859e8ade0bbfc14000d91

-   run: --tmux-args implies --tmux

-   run: add --userland-args to make userland arguments across QEMU and gem5

    Get rid of --userland-before as a consequence.

-   bring initrd and initramfs back to life

-   build-userland: create --static to make build a bit easier

-   gem5: --gem5-worktree also set --gem5-build-id

-   remove --gem5, use --emulator gem5 everywhere

    Allow passing --emulator multiple times for transparent tests selection
    just like --arch.

-   test-userland: allow selecting just a few tests

-   linux: update to v4.20

-   buildroot: update to 2018.08

    The main motivation for this was to fix the build for Ubuntu 18.10, which
    has glibc 2.28, which broke the 2018.05 build at the m4-host package with:

        #error "Please port gnulib fseeko.c to your platform!

-   getvar --type input

-   failed xen attempt, refactor timer, failed svc attempt, aarch64 use gicv3

-   build-doc: exit 1 on error, add to release testing

-   build: add --apt option to make things easier on other distros

-   build-linux: --no-modules-install
2019-01-22 00:00:00 +00:00