From 28cd27f96931527ad113fc7aac7b8b13cc4b69bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 7 Jul 2019 00:00:01 +0000 Subject: [PATCH] Move all non-README links to cirosantilli.com where the file is not cut off... --- .gitignore | 4 ++-- Dockerfile | 2 +- README.adoc | 2 +- asciidoctor/extract-header-ids | 2 +- asciidoctor/extract-link-targets | 2 +- asciidoctor/link-target-github.rb | 2 +- asciidoctor/link-target-up.rb | 2 +- baremetal/README.adoc | 2 +- baremetal/arch/aarch64/dump_regs.c | 2 +- baremetal/arch/aarch64/multicore.S | 4 ++-- .../arch/aarch64/no_bootloader/semihost_exit.S | 2 +- baremetal/arch/aarch64/svc.c | 2 +- baremetal/arch/aarch64/svc_asm.S | 2 +- baremetal/arch/arm/dump_regs.c | 2 +- baremetal/arch/arm/multicore.S | 2 +- baremetal/lib/aarch64.S | 4 ++-- baremetal/lib/arm.S | 2 +- bisect-gem5-gdb | 2 +- bisect-gem5-linux-boot | 2 +- bisect-linux-boot-gem5 | 2 +- bisect-qemu-linux-boot | 2 +- bst-vs-heap-vs-hashmap-gem5-stats | 2 +- bst-vs-heap-vs-hashmap.gnuplot | 2 +- build | 4 ++-- build-android | 2 +- build-doc | 8 ++++---- build-linux | 4 ++-- build-modules | 2 +- build-test | 2 +- build-userland-in-tree | 2 +- build-xen | 2 +- buildroot_packages/README.adoc | 2 +- buildroot_packages/kernel_modules/README.adoc | 2 +- .../kernel_modules/buildroot_dep.c | 2 +- .../kernel_modules/buildroot_dep2.c | 2 +- .../kernel_modules/buildroot_hello.c | 2 +- common.py | 16 ++++++++-------- config.py | 2 +- copy-overlay | 2 +- gem5-bench-dhrystone | 2 +- hello_host_kernel_module/README.adoc | 2 +- kernel_modules/Makefile | 2 +- kernel_modules/README.adoc | 2 +- kernel_modules/anonymous_inode.c | 2 +- kernel_modules/character_device.c | 2 +- kernel_modules/character_device_create.c | 2 +- kernel_modules/debugfs.c | 2 +- kernel_modules/dep.c | 2 +- kernel_modules/dep2.c | 2 +- kernel_modules/dump_stack.c | 2 +- kernel_modules/float.c | 2 +- kernel_modules/fops.c | 2 +- kernel_modules/hello.c | 2 +- kernel_modules/hello2.c | 2 +- kernel_modules/init_module.c | 2 +- kernel_modules/ioctl.c | 2 +- kernel_modules/irq.c | 2 +- kernel_modules/kprobe_example.c | 2 +- kernel_modules/kstrto.c | 2 +- kernel_modules/kthread.c | 2 +- kernel_modules/kthreads.c | 2 +- kernel_modules/memcpy_overflow.c | 2 +- kernel_modules/mmap.c | 2 +- kernel_modules/module_info.c | 2 +- kernel_modules/myprintk.c | 2 +- kernel_modules/netlink.c | 2 +- kernel_modules/oops.c | 2 +- kernel_modules/panic.c | 2 +- kernel_modules/params.c | 2 +- kernel_modules/pci_min.c | 2 +- kernel_modules/pmccntr.c | 2 +- kernel_modules/poll.c | 2 +- kernel_modules/procfs.c | 2 +- kernel_modules/qemu_edu.c | 2 +- kernel_modules/ring0.c | 2 +- kernel_modules/schedule.c | 2 +- kernel_modules/seq_file.c | 2 +- kernel_modules/seq_file_single_open.c | 2 +- kernel_modules/sleep.c | 2 +- kernel_modules/strlen_overflow.c | 2 +- kernel_modules/sysfs.c | 2 +- kernel_modules/timer.c | 2 +- kernel_modules/vermagic.c | 2 +- kernel_modules/vermagic_fail.c | 2 +- kernel_modules/virt_to_phys.c | 2 +- kernel_modules/wait_queue.c | 2 +- kernel_modules/wait_queue2.c | 2 +- kernel_modules/warn_on.c | 2 +- kernel_modules/work_from_work.c | 2 +- kernel_modules/workqueue_cheat.c | 2 +- linux_config/README.adoc | 2 +- linux_config/buildroot-aarch64 | 2 +- linux_config/buildroot-arm | 2 +- linux_config/buildroot-x86_64 | 2 +- linux_config/min | 2 +- linux_config/nfs | 2 +- linux_config/selinux | 2 +- lkmc.c | 2 +- lkmc.h | 2 +- lkmc/README.adoc | 2 +- lkmc/aarch64.h | 4 ++-- lkmc/anonymous_inode.h | 2 +- lkmc/arm.h | 4 ++-- lkmc/float.h | 2 +- lkmc/ioctl.h | 2 +- lkmc/m5ops.h | 2 +- lkmc/netlink.h | 2 +- lkmc/ring0.h | 2 +- lkmc/x86_64.h | 4 ++-- patches/README.adoc | 2 +- patches/global/README.adoc | 2 +- patches/manual/README.adoc | 2 +- path_properties.py | 2 +- publish-gh-pages | 2 +- release-download-latest | 2 +- release-upload | 2 +- release-zip | 2 +- rootfs_overlay/.profile | 2 +- rootfs_overlay/README.adoc | 2 +- rootfs_overlay/etc/init.d/S98 | 2 +- rootfs_overlay/lkmc/anonymous_inode.sh | 2 +- rootfs_overlay/lkmc/conf.sh | 2 +- rootfs_overlay/lkmc/eval_base64.sh | 2 +- rootfs_overlay/lkmc/gem5.sh | 2 +- rootfs_overlay/lkmc/gem5_exit.sh | 2 +- rootfs_overlay/lkmc/ioctl.sh | 2 +- rootfs_overlay/lkmc/loginroot.sh | 2 +- rootfs_overlay/lkmc/netlink.sh | 2 +- rootfs_overlay/lkmc/poll.sh | 2 +- rootfs_overlay/lkmc/test_fail.sh | 2 +- rootfs_overlay/lkmc/uio_read.sh | 2 +- run | 14 +++++++------- run-android | 2 +- run-gdb | 16 ++++++++-------- test | 2 +- test-build-userland | 2 +- test-executables | 6 +++--- test-executables-in-tree | 2 +- test-gdb | 2 +- test-test-executables | 2 +- test-userland-full-system | 2 +- trace-boot | 2 +- userland/README.adoc | 2 +- userland/arch/aarch64/add.S | 2 +- userland/arch/aarch64/add_vector.S | 2 +- userland/arch/aarch64/adr.S | 2 +- userland/arch/aarch64/adrp.S | 2 +- userland/arch/aarch64/beq.S | 2 +- userland/arch/aarch64/bfi.S | 2 +- userland/arch/aarch64/cbz.S | 2 +- userland/arch/aarch64/comments.S | 2 +- userland/arch/aarch64/cset.S | 2 +- userland/arch/aarch64/fadd_scalar.S | 2 +- userland/arch/aarch64/fadd_vector.S | 2 +- userland/arch/aarch64/freestanding/linux/hello.S | 2 +- userland/arch/aarch64/gas_data_sizes.S | 2 +- userland/arch/aarch64/gdb_tests/README.adoc | 2 +- userland/arch/aarch64/immediates.S | 2 +- userland/arch/aarch64/inline_asm/earlyclobber.c | 2 +- .../inline_asm/freestanding/linux/hello.c | 2 +- .../freestanding/linux/hello_clobbers.c | 2 +- userland/arch/aarch64/inline_asm/inc.c | 2 +- userland/arch/aarch64/inline_asm/inc_float.c | 2 +- .../arch/aarch64/inline_asm/linux/asm_from_c.c | 2 +- userland/arch/aarch64/inline_asm/reg_var.c | 2 +- userland/arch/aarch64/inline_asm/reg_var_float.c | 2 +- userland/arch/aarch64/ld2.S | 2 +- userland/arch/aarch64/lkmc_assert_eq_fail.S | 2 +- userland/arch/aarch64/lkmc_assert_memcmp_fail.S | 2 +- userland/arch/aarch64/movk.S | 2 +- userland/arch/aarch64/movn.S | 2 +- userland/arch/aarch64/pc.S | 2 +- userland/arch/aarch64/registers.S | 2 +- userland/arch/aarch64/ret.S | 2 +- userland/arch/aarch64/str.S | 2 +- userland/arch/aarch64/sve.S | 2 +- userland/arch/aarch64/ubfm.S | 2 +- userland/arch/aarch64/ubfx.S | 2 +- userland/arch/aarch64/udf.S | 2 +- userland/arch/aarch64/x31.S | 2 +- userland/arch/arm/add.S | 4 ++-- userland/arch/arm/address_modes.S | 2 +- userland/arch/arm/adr.S | 2 +- userland/arch/arm/and.S | 2 +- userland/arch/arm/b.S | 2 +- userland/arch/arm/beq.S | 2 +- userland/arch/arm/bfi.S | 2 +- userland/arch/arm/bic.S | 2 +- userland/arch/arm/bl.S | 2 +- userland/arch/arm/clz.S | 2 +- userland/arch/arm/comments.S | 2 +- userland/arch/arm/cond.S | 2 +- userland/arch/arm/dump_regs.c | 2 +- userland/arch/arm/freestanding/linux/hello.S | 2 +- .../arch/arm/freestanding/linux/hello_thumb.S | 2 +- userland/arch/arm/gas_data_sizes.S | 2 +- userland/arch/arm/gdb_tests/README.adoc | 2 +- userland/arch/arm/immediates.S | 2 +- userland/arch/arm/inc_array.S | 2 +- userland/arch/arm/inline_asm/add.c | 2 +- .../arm/inline_asm/freestanding/linux/hello.c | 2 +- userland/arch/arm/inline_asm/inc.c | 2 +- userland/arch/arm/inline_asm/inc_float.c | 2 +- userland/arch/arm/inline_asm/inc_memory.c | 2 +- userland/arch/arm/inline_asm/inc_memory_global.c | 2 +- userland/arch/arm/inline_asm/reg_var.c | 2 +- userland/arch/arm/ldmia.S | 2 +- userland/arch/arm/ldr_pseudo.S | 2 +- userland/arch/arm/ldrb.S | 2 +- userland/arch/arm/ldrh.S | 2 +- userland/arch/arm/linux/c_from_asm.S | 2 +- userland/arch/arm/lkmc_assert_eq_fail.S | 2 +- userland/arch/arm/lkmc_assert_memcmp_fail.S | 2 +- userland/arch/arm/mov.S | 2 +- userland/arch/arm/movw.S | 2 +- userland/arch/arm/mul.S | 2 +- userland/arch/arm/nop.S | 2 +- userland/arch/arm/push.S | 2 +- userland/arch/arm/rbit.S | 2 +- userland/arch/arm/registers.S | 2 +- userland/arch/arm/rev.S | 2 +- userland/arch/arm/s_suffix.S | 2 +- userland/arch/arm/shift.S | 2 +- userland/arch/arm/str.S | 4 ++-- userland/arch/arm/sub.S | 2 +- userland/arch/arm/thumb.S | 2 +- userland/arch/arm/tst.S | 2 +- userland/arch/arm/udf.S | 2 +- userland/arch/arm/vadd_scalar.S | 2 +- userland/arch/arm/vadd_vector.S | 2 +- userland/arch/arm/vcvt.S | 2 +- userland/arch/arm/vcvta.S | 2 +- userland/arch/arm/vcvtr.S | 2 +- userland/arch/empty.S | 2 +- userland/arch/lkmc_assert_fail.S | 2 +- userland/arch/x86_64/adc.S | 2 +- userland/arch/x86_64/add.S | 2 +- userland/arch/x86_64/addpd.S | 2 +- userland/arch/x86_64/address_modes.S | 2 +- userland/arch/x86_64/and.S | 2 +- userland/arch/x86_64/binutils_hack.c | 2 +- userland/arch/x86_64/binutils_nohack.c | 2 +- userland/arch/x86_64/bswap.S | 2 +- userland/arch/x86_64/bt.S | 2 +- userland/arch/x86_64/btc.S | 2 +- userland/arch/x86_64/btr.S | 2 +- userland/arch/x86_64/char_literals.S | 2 +- userland/arch/x86_64/cltq.S | 2 +- userland/arch/x86_64/cmovcc.S | 2 +- userland/arch/x86_64/cmp.S | 2 +- userland/arch/x86_64/cmps.S | 2 +- userland/arch/x86_64/cmpxchg.S | 2 +- userland/arch/x86_64/cpuid.S | 2 +- userland/arch/x86_64/cqto.S | 2 +- userland/arch/x86_64/cvttss2si.S | 2 +- userland/arch/x86_64/dec.S | 2 +- userland/arch/x86_64/div.S | 2 +- userland/arch/x86_64/div_overflow.S | 2 +- userland/arch/x86_64/div_zero.S | 2 +- userland/arch/x86_64/enter.S | 2 +- userland/arch/x86_64/fabs.S | 2 +- userland/arch/x86_64/fadd.S | 2 +- userland/arch/x86_64/faddp.S | 2 +- userland/arch/x86_64/fchs.S | 2 +- userland/arch/x86_64/fild.S | 2 +- userland/arch/x86_64/fld1.S | 2 +- userland/arch/x86_64/fldl_literal.S | 2 +- userland/arch/x86_64/fldz.S | 2 +- userland/arch/x86_64/freestanding/linux/hello.S | 2 +- .../x86_64/freestanding/linux/int_system_call.S | 2 +- userland/arch/x86_64/fscale.S | 2 +- userland/arch/x86_64/fsqrt.S | 2 +- userland/arch/x86_64/fxch.S | 2 +- userland/arch/x86_64/gas_data_sizes.S | 2 +- userland/arch/x86_64/gdb_tests/README.adoc | 2 +- userland/arch/x86_64/idiv.S | 2 +- userland/arch/x86_64/ieee754.S | 4 ++-- userland/arch/x86_64/imul.S | 2 +- userland/arch/x86_64/inc.S | 2 +- userland/arch/x86_64/inline_asm/add.c | 2 +- .../x86_64/inline_asm/freestanding/linux/hello.c | 2 +- .../inline_asm/freestanding/linux/hello_regvar.c | 2 +- userland/arch/x86_64/inline_asm/inc.c | 2 +- userland/arch/x86_64/inline_asm/scratch.c | 2 +- .../arch/x86_64/inline_asm/scratch_hardcode.c | 2 +- userland/arch/x86_64/inline_asm/sqrt_x87.c | 2 +- userland/arch/x86_64/intrinsics/README.adoc | 2 +- userland/arch/x86_64/intrinsics/addpd.c | 2 +- userland/arch/x86_64/intrinsics/paddq.c | 2 +- userland/arch/x86_64/intrinsics/rdtsc.c | 2 +- userland/arch/x86_64/intrinsics/rdtscp.c | 2 +- userland/arch/x86_64/jcc.S | 2 +- userland/arch/x86_64/jmp.S | 2 +- userland/arch/x86_64/jmp_indirect.S | 2 +- userland/arch/x86_64/lea.S | 2 +- userland/arch/x86_64/lkmc_assert_eq_fail.S | 2 +- userland/arch/x86_64/lkmc_assert_memcmp_fail.S | 2 +- userland/arch/x86_64/lods.S | 2 +- userland/arch/x86_64/loop.S | 2 +- userland/arch/x86_64/mov.S | 2 +- userland/arch/x86_64/movaps.S | 2 +- userland/arch/x86_64/movs.S | 2 +- userland/arch/x86_64/movss.S | 2 +- userland/arch/x86_64/movsx.S | 2 +- userland/arch/x86_64/movups.S | 2 +- userland/arch/x86_64/movzx.S | 2 +- userland/arch/x86_64/mul.S | 2 +- userland/arch/x86_64/neg.S | 2 +- userland/arch/x86_64/nop.S | 2 +- userland/arch/x86_64/not.S | 2 +- userland/arch/x86_64/or.S | 2 +- userland/arch/x86_64/paddq.S | 2 +- userland/arch/x86_64/popcnt.S | 2 +- userland/arch/x86_64/push.S | 2 +- userland/arch/x86_64/pushf.S | 2 +- userland/arch/x86_64/rcl.S | 4 ++-- userland/arch/x86_64/rdrand.S | 2 +- userland/arch/x86_64/rdtsc.S | 2 +- userland/arch/x86_64/rdtscp.S | 2 +- userland/arch/x86_64/registers.S | 2 +- userland/arch/x86_64/rep.S | 2 +- userland/arch/x86_64/ring0.c | 2 +- userland/arch/x86_64/rol.S | 2 +- userland/arch/x86_64/sal.S | 2 +- userland/arch/x86_64/sbb.S | 2 +- userland/arch/x86_64/scas.S | 2 +- userland/arch/x86_64/setcc.S | 2 +- userland/arch/x86_64/shl.S | 2 +- userland/arch/x86_64/stos.S | 2 +- userland/arch/x86_64/sub.S | 2 +- userland/arch/x86_64/test.S | 2 +- userland/arch/x86_64/vfmadd132pd.S | 2 +- userland/arch/x86_64/xadd.S | 2 +- userland/arch/x86_64/xchg.S | 2 +- userland/arch/x86_64/xor.S | 2 +- userland/c/README.adoc | 2 +- userland/c/exit0.c | 2 +- userland/c/exit1.c | 2 +- userland/c/exit2.c | 2 +- userland/c/false.c | 2 +- userland/c/file_write_read.c | 2 +- userland/c/gcc_hack.c | 2 +- userland/c/infinite_loop.c | 2 +- userland/c/m5ops.c | 2 +- userland/c/print_argv.c | 2 +- userland/c/return1.c | 2 +- userland/c/return2.c | 2 +- userland/cpp/README.adoc | 2 +- userland/cpp/atomic.cpp | 6 +++--- userland/cpp/bst_vs_heap_vs_hashmap.cpp | 2 +- userland/cpp/empty.cpp | 2 +- userland/cpp/hello.cpp | 2 +- userland/gcc/empty_struct.c | 2 +- userland/gcc/openmp.c | 2 +- userland/gdb_tests/README.adoc | 2 +- userland/kernel_modules/anonymous_inode.c | 2 +- userland/kernel_modules/ioctl.c | 2 +- userland/kernel_modules/mmap.c | 2 +- userland/kernel_modules/netlink.c | 2 +- userland/kernel_modules/poll.c | 2 +- userland/kernel_modules/uio_read.c | 2 +- userland/libs/eigen/hello.cpp | 2 +- userland/libs/libdrm/modeset.c | 2 +- userland/libs/openblas/hello.c | 2 +- userland/linux/ctrl_alt_del.c | 2 +- userland/linux/myinsmod.c | 2 +- userland/linux/myrmmod.c | 2 +- userland/linux/pagemap_dump.c | 2 +- userland/linux/poweroff.c | 2 +- userland/linux/proc_events.c | 2 +- userland/linux/rand_check.c | 2 +- userland/linux/sched_getaffinity.c | 2 +- userland/linux/sched_getaffinity_threads.c | 2 +- userland/linux/time_boot.c | 2 +- userland/linux/virt_to_phys_user.c | 2 +- userland/posix/README.adoc | 2 +- userland/posix/count.c | 2 +- userland/posix/sleep_forever.c | 2 +- userland/posix/uname.c | 2 +- userland/posix/virt_to_phys_test.c | 2 +- 380 files changed, 419 insertions(+), 419 deletions(-) diff --git a/.gitignore b/.gitignore index 65082fe..9a22940 100644 --- a/.gitignore +++ b/.gitignore @@ -10,10 +10,10 @@ tmp.* *.gitignore gitignore.* -# https://github.com/cirosantilli/linux-kernel-module-cheat#prebuilt +# https://cirosantilli.com/linux-kernel-module-cheat#prebuilt /lkmc-*.zip -# https://github.com/cirosantilli/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap +# https://cirosantilli.com/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap *.dat # Python trash. diff --git a/Dockerfile b/Dockerfile index c5c815b..7f96735 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#docker +# https://cirosantilli.com/linux-kernel-module-cheat#docker FROM ubuntu:18.04 COPY setup / RUN /setup -y diff --git a/README.adoc b/README.adoc index 3a8dd9f..5119a85 100644 --- a/README.adoc +++ b/README.adoc @@ -13,7 +13,7 @@ The perfect emulation setup to study and develop the <> v5.1, kern TL;DR: <> -The source code for this page is located at: https://github.com/cirosantilli/linux-kernel-module-cheat[]. Due to link:https://github.com/isaacs/github/issues/1610[a GitHub limitation], this README is too long and not fully rendered on github.com. Either use: https://www.cirosantilli.com/linux-kernel-module-cheat or <>. +The source code for this page is located at: https://github.com/cirosantilli/linux-kernel-module-cheat[]. Due to link:https://github.com/isaacs/github/issues/1610[a GitHub limitation], this README is too long and not fully rendered on github.com. Either use: https://cirosantilli.com/linux-kernel-module-cheat or <>. toc::[] diff --git a/asciidoctor/extract-header-ids b/asciidoctor/extract-header-ids index 71f7244..94f5430 100755 --- a/asciidoctor/extract-header-ids +++ b/asciidoctor/extract-header-ids @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -# https://github.com/cirosantilli/linux-kernel-module-cheat#asciidoctor-extract-header-ids +# https://cirosantilli.com/linux-kernel-module-cheat#asciidoctor-extract-header-ids require 'asciidoctor' require 'asciidoctor/extensions' diff --git a/asciidoctor/extract-link-targets b/asciidoctor/extract-link-targets index bb45e42..ad92cc4 100755 --- a/asciidoctor/extract-link-targets +++ b/asciidoctor/extract-link-targets @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -# https://github.com/cirosantilli/linux-kernel-module-cheat#asciidoctor-extract-link-targets +# https://cirosantilli.com/linux-kernel-module-cheat#asciidoctor-extract-link-targets require 'asciidoctor' require 'asciidoctor/extensions' diff --git a/asciidoctor/link-target-github.rb b/asciidoctor/link-target-github.rb index d1920d5..d77f392 100644 --- a/asciidoctor/link-target-github.rb +++ b/asciidoctor/link-target-github.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # -# https://github.com/cirosantilli/linux-kernel-module-cheat#asciidoctor-link-target-up-rb +# https://cirosantilli.com/linux-kernel-module-cheat#asciidoctor-link-target-up-rb require 'asciidoctor' require 'asciidoctor/extensions' diff --git a/asciidoctor/link-target-up.rb b/asciidoctor/link-target-up.rb index 897e74d..29b4176 100644 --- a/asciidoctor/link-target-up.rb +++ b/asciidoctor/link-target-up.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -# https://github.com/cirosantilli/linux-kernel-module-cheat#asciidoctor-link-target-up-rb +# https://cirosantilli.com/linux-kernel-module-cheat#asciidoctor-link-target-up-rb require 'asciidoctor' require 'asciidoctor/extensions' diff --git a/baremetal/README.adoc b/baremetal/README.adoc index 1d85f45..9662527 100644 --- a/baremetal/README.adoc +++ b/baremetal/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#baremetal-setup +https://cirosantilli.com/linux-kernel-module-cheat#baremetal-setup diff --git a/baremetal/arch/aarch64/dump_regs.c b/baremetal/arch/aarch64/dump_regs.c index 4113bd8..0ca116a 100644 --- a/baremetal/arch/aarch64/dump_regs.c +++ b/baremetal/arch/aarch64/dump_regs.c @@ -12,7 +12,7 @@ int main(void) { uint64_t CurrentEL; __asm__ ("mrs %0, CurrentEL;" : "=r" (CurrentEL) : :); printf("CurrentEL 0x%" PRIX64 "\n", CurrentEL); - /* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-exception-levels */ + /* https://cirosantilli.com/linux-kernel-module-cheat#arm-exception-levels */ printf("CurrentEL.EL 0x%" PRIX64 "\n", CurrentEL >> 2); return 0; } diff --git a/baremetal/arch/aarch64/multicore.S b/baremetal/arch/aarch64/multicore.S index 8f9e680..6f91d0e 100644 --- a/baremetal/arch/aarch64/multicore.S +++ b/baremetal/arch/aarch64/multicore.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-multicore */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-multicore */ #include @@ -39,7 +39,7 @@ cpu0_only: #if !LKMC_GEM5 /* Wake up CPU 1 from initial sleep! - * See:https://github.com/cirosantilli/linux-kernel-module-cheat#arm-psci + * See:https://cirosantilli.com/linux-kernel-module-cheat#arm-psci */ /* PCSI function identifier: CPU_ON. */ ldr w0, =0xc4000003 diff --git a/baremetal/arch/aarch64/no_bootloader/semihost_exit.S b/baremetal/arch/aarch64/no_bootloader/semihost_exit.S index 62fa06f..20295d3 100644 --- a/baremetal/arch/aarch64/no_bootloader/semihost_exit.S +++ b/baremetal/arch/aarch64/no_bootloader/semihost_exit.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#semihosting */ +/* https://cirosantilli.com/linux-kernel-module-cheat#semihosting */ .global lkmc_start lkmc_start: diff --git a/baremetal/arch/aarch64/svc.c b/baremetal/arch/aarch64/svc.c index 81df9df..85262a8 100644 --- a/baremetal/arch/aarch64/svc.c +++ b/baremetal/arch/aarch64/svc.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-svc-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-svc-instruction */ #include #include diff --git a/baremetal/arch/aarch64/svc_asm.S b/baremetal/arch/aarch64/svc_asm.S index e3325ea..697baf5 100644 --- a/baremetal/arch/aarch64/svc_asm.S +++ b/baremetal/arch/aarch64/svc_asm.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-svc-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-svc-instruction */ #include diff --git a/baremetal/arch/arm/dump_regs.c b/baremetal/arch/arm/dump_regs.c index 6234f98..2300320 100644 --- a/baremetal/arch/arm/dump_regs.c +++ b/baremetal/arch/arm/dump_regs.c @@ -7,7 +7,7 @@ int main(void) { uint32_t spsr; __asm__ ("mrs %0, spsr" : "=r" (spsr) : :); printf("SPSR 0x%" PRIX32 "\n", spsr); - /* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-exception-levels */ + /* https://cirosantilli.com/linux-kernel-module-cheat#arm-exception-levels */ printf("SPSR.M 0x%" PRIX32 "\n", spsr & 0xF); #if 0 diff --git a/baremetal/arch/arm/multicore.S b/baremetal/arch/arm/multicore.S index 799bd7d..82df24a 100644 --- a/baremetal/arch/arm/multicore.S +++ b/baremetal/arch/arm/multicore.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-multicore */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-multicore */ #include diff --git a/baremetal/lib/aarch64.S b/baremetal/lib/aarch64.S index 13995eb..9281cc4 100644 --- a/baremetal/lib/aarch64.S +++ b/baremetal/lib/aarch64.S @@ -6,7 +6,7 @@ lkmc_start: ldr x0, =lkmc_vector_table msr vbar_el1, x0 - /* https://github.com/cirosantilli/linux-kernel-module-cheat#aarch64-baremetal-neon-setup */ + /* https://cirosantilli.com/linux-kernel-module-cheat#aarch64-baremetal-neon-setup */ mov x1, 0x3 << 20 msr cpacr_el1, x1 isb @@ -15,7 +15,7 @@ lkmc_start: ldr x0, =stack_top mov sp, x0 - /* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ + /* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ adr x0, lkmc_baremetal_on_exit_callback bl on_exit diff --git a/baremetal/lib/arm.S b/baremetal/lib/arm.S index 69e496e..6f0d149 100644 --- a/baremetal/lib/arm.S +++ b/baremetal/lib/arm.S @@ -18,7 +18,7 @@ lkmc_start: mov r0, 1 << 30 /* Create value with FPEXC (bit 30) set in r0 */ vmsr fpexc, r0 /* Enable VFP and SIMD extensions */ - /* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ + /* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ ldr r0, =lkmc_baremetal_on_exit_callback bl on_exit diff --git a/bisect-gem5-gdb b/bisect-gem5-gdb index 660fff1..cbc0d38 100755 --- a/bisect-gem5-gdb +++ b/bisect-gem5-gdb @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection +# https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu cd ../.. ./build-gem5 --arch aarch64 --gem5-build-id bisect diff --git a/bisect-gem5-linux-boot b/bisect-gem5-linux-boot index 42b1a7f..2e70e5b 100755 --- a/bisect-gem5-linux-boot +++ b/bisect-gem5-linux-boot @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection +# https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu cd ../.. ./build-gem5 --gem5-build-id bisect diff --git a/bisect-linux-boot-gem5 b/bisect-linux-boot-gem5 index 5637009..2f2ef66 100755 --- a/bisect-linux-boot-gem5 +++ b/bisect-linux-boot-gem5 @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection +# https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu ./build-linux --clean "$@" ./build-linux "$@" diff --git a/bisect-qemu-linux-boot b/bisect-qemu-linux-boot index 9d352e5..290f8ae 100755 --- a/bisect-qemu-linux-boot +++ b/bisect-qemu-linux-boot @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection +# https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu git submodule update --recursive cd ../.. diff --git a/bst-vs-heap-vs-hashmap-gem5-stats b/bst-vs-heap-vs-hashmap-gem5-stats index a33d42a..b57daa4 100755 --- a/bst-vs-heap-vs-hashmap-gem5-stats +++ b/bst-vs-heap-vs-hashmap-gem5-stats @@ -11,7 +11,7 @@ class Main(common.LkmcCliFunction): }, description='''\ Convert a BST vs heap stat file into a gnuplot input -https://github.com/cirosantilli/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap +https://cirosantilli.com/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap ''', ) diff --git a/bst-vs-heap-vs-hashmap.gnuplot b/bst-vs-heap-vs-hashmap.gnuplot index 5f21964..f40e091 100755 --- a/bst-vs-heap-vs-hashmap.gnuplot +++ b/bst-vs-heap-vs-hashmap.gnuplot @@ -1,6 +1,6 @@ #!/usr/bin/env gnuplot -# https://github.com/cirosantilli/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap +# https://cirosantilli.com/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap # # A stacked plot with a single xlabel as shown at: # diff --git a/build b/build index 39f4634..2967c33 100755 --- a/build +++ b/build @@ -68,7 +68,7 @@ It is currently not possible to configure individual components from the command when you build with this script. TODO. Without any args, build only what is necessary for: -https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-buildroot-setup +https://cirosantilli.com/linux-kernel-module-cheat#qemu-buildroot-setup .... ./%(prog)s @@ -367,7 +367,7 @@ so looping over all of them would waste time. default=True, help='''\ Don't run any apt-get commands. To make it easier to use with other archs: -https://github.com/cirosantilli/linux-kernel-module-cheat#supported-hosts +https://cirosantilli.com/linux-kernel-module-cheat#supported-hosts ''' ) self.add_argument( diff --git a/build-android b/build-android index b57eb5f..defeec4 100755 --- a/build-android +++ b/build-android @@ -13,7 +13,7 @@ class Main(common.BuildCliFunction): description='''\ Download and build Android AOSP. -https://github.com/cirosantilli/linux-kernel-module-cheat#android +https://cirosantilli.com/linux-kernel-module-cheat#android ''' ) self.add_argument( diff --git a/build-doc b/build-doc index 9e55c9a..8f57559 100755 --- a/build-doc +++ b/build-doc @@ -14,7 +14,7 @@ class Main(common.LkmcCliFunction): 'show_time': False, }, description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#build-the-documentation +https://cirosantilli.com/linux-kernel-module-cheat#build-the-documentation ''', ) self.add_argument( @@ -70,13 +70,13 @@ from the README to example sources to GitHub rather than locally. 'git', 'grep', '--fixed-strings', - self.env['github_repo_id_url'] + '#', + self.env['homepage_url'] + '#', LF ], cwd=self.env['root_dir'] ).splitlines(): - url_index = grep_line.index(self.env['github_repo_id_url']) - hash_start_index = url_index + len(self.env['github_repo_id_url']) + url_index = grep_line.index(self.env['homepage_url']) + hash_start_index = url_index + len(self.env['homepage_url']) if len(grep_line) > hash_start_index: hash_str = grep_line_hash_re.search(grep_line[hash_start_index + 1:]).group(1) if not hash_str in header_ids: diff --git a/build-linux b/build-linux index 773775f..8aa5d6a 100755 --- a/build-linux +++ b/build-linux @@ -56,7 +56,7 @@ top of it. help='''\ Like --custom-config-file, but select the gem5 Linux kernel fork config as the custom config file. Ignore --custom-config-file if given. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-arm-linux-kernel-patches +See: https://cirosantilli.com/linux-kernel-module-cheat#gem5-arm-linux-kernel-patches ''' ) self.add_argument( @@ -195,7 +195,7 @@ Run `make modules_install` after `make`. common_make_args + self.sh.add_newlines(self.env['extra_make_args']) ), - # https://github.com/cirosantilli/linux-kernel-module-cheat#proc-version + # https://cirosantilli.com/linux-kernel-module-cheat#proc-version extra_env={ 'KBUILD_BUILD_VERSION': '1', 'KBUILD_BUILD_TIMESTAMP': 'Thu Jan 1 00:00:00 UTC 1970', diff --git a/build-modules b/build-modules index 18401aa..be2a20d 100755 --- a/build-modules +++ b/build-modules @@ -16,7 +16,7 @@ class Main(common.BuildCliFunction): description='''\ Build our Linux kernel modules without using Buildroot. -See also: https://github.com/cirosantilli/linux-kernel-module-cheat#host +See also: https://cirosantilli.com/linux-kernel-module-cheat#host ''') self.add_argument( '--make-args', diff --git a/build-test b/build-test index 6700d4e..739c768 100755 --- a/build-test +++ b/build-test @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Build just enough to run ./test: -# https://github.com/cirosantilli/linux-kernel-module-cheat#automated-tests +# https://cirosantilli.com/linux-kernel-module-cheat#automated-tests set -eu test_size=1 while [ $# -gt 0 ]; do diff --git a/build-userland-in-tree b/build-userland-in-tree index 0e8b4c2..472c43f 100755 --- a/build-userland-in-tree +++ b/build-userland-in-tree @@ -12,7 +12,7 @@ class Main(build_userland.Main): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively +https://cirosantilli.com/linux-kernel-module-cheat#userland-setup-getting-started-natively ''', defaults={ 'archs': [platform.processor()], diff --git a/build-xen b/build-xen index 6ac5bce..ced2823 100755 --- a/build-xen +++ b/build-xen @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#xen +# https://cirosantilli.com/linux-kernel-module-cheat#xen set -eux cd submodules/xen make \ diff --git a/buildroot_packages/README.adoc b/buildroot_packages/README.adoc index 319a2c6..eab54f2 100644 --- a/buildroot_packages/README.adoc +++ b/buildroot_packages/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#buildroot_packages-directory +https://cirosantilli.com/linux-kernel-module-cheat#buildroot_packages-directory diff --git a/buildroot_packages/kernel_modules/README.adoc b/buildroot_packages/kernel_modules/README.adoc index 70314ab..c9d68f6 100644 --- a/buildroot_packages/kernel_modules/README.adoc +++ b/buildroot_packages/kernel_modules/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#kernel_modules-buildroot-package +https://cirosantilli.com/linux-kernel-module-cheat#kernel_modules-buildroot-package diff --git a/buildroot_packages/kernel_modules/buildroot_dep.c b/buildroot_packages/kernel_modules/buildroot_dep.c index 79e03cc..7bd9858 100644 --- a/buildroot_packages/kernel_modules/buildroot_dep.c +++ b/buildroot_packages/kernel_modules/buildroot_dep.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */ #include #include diff --git a/buildroot_packages/kernel_modules/buildroot_dep2.c b/buildroot_packages/kernel_modules/buildroot_dep2.c index dcd4103..a63371c 100644 --- a/buildroot_packages/kernel_modules/buildroot_dep2.c +++ b/buildroot_packages/kernel_modules/buildroot_dep2.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */ #include #include diff --git a/buildroot_packages/kernel_modules/buildroot_hello.c b/buildroot_packages/kernel_modules/buildroot_hello.c index 537a67b..acb9fdf 100644 --- a/buildroot_packages/kernel_modules/buildroot_hello.c +++ b/buildroot_packages/kernel_modules/buildroot_hello.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel_modules-buildroot-package */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel_modules-buildroot-package */ #include #include diff --git a/common.py b/common.py index 1402992..7be3b3e 100644 --- a/common.py +++ b/common.py @@ -102,14 +102,14 @@ consts['sha'] = common.git_sha(consts['root_dir']) consts['release_dir'] = os.path.join(consts['out_dir'], 'release') consts['release_zip_file'] = os.path.join(consts['release_dir'], 'lkmc-{}.zip'.format(consts['sha'])) consts['github_repo_id'] = 'cirosantilli/linux-kernel-module-cheat' -consts['github_repo_id_url'] = 'https://github.com/' + consts['github_repo_id'] +consts['homepage_url'] = 'https://cirosantilli.com/linux-kernel-module-cheat' consts['asm_ext'] = '.S' consts['c_ext'] = '.c' consts['cxx_ext'] = '.cpp' consts['header_ext'] = '.h' consts['kernel_module_ext'] = '.ko' consts['obj_ext'] = '.o' -# https://github.com/cirosantilli/linux-kernel-module-cheat#baremetal-cpp +# https://cirosantilli.com/linux-kernel-module-cheat#baremetal-cpp consts['baremetal_build_in_exts'] = [ consts['asm_ext'], consts['c_ext'], @@ -338,7 +338,7 @@ Use the given directory as the gem5 source tree. Ignore `--gem5-worktree`. '--gem5-worktree', help='''\ Create and use a git worktree of the gem5 submodule. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-worktree +See: https://cirosantilli.com/linux-kernel-module-cheat#gem5-worktree ''' ) @@ -367,7 +367,7 @@ Use the given directory as the Linux source tree. '--initramfs', default=False, help='''\ -See: https://github.com/cirosantilli/linux-kernel-module-cheat#initramfs +See: https://cirosantilli.com/linux-kernel-module-cheat#initramfs ''' ) self.add_argument( @@ -376,7 +376,7 @@ See: https://github.com/cirosantilli/linux-kernel-module-cheat#initramfs help='''\ For Buildroot: create a CPIO root filessytem. For QEMU use that CPUI root filesystem initrd instead of the default ext2. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#initrd +See: https://cirosantilli.com/linux-kernel-module-cheat#initrd ''' ) @@ -595,7 +595,7 @@ Valid emulators: {} "native" means running natively on host. It is only supported for userland, and you must have built the program for native running, see: -https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively +https://cirosantilli.com/linux-kernel-module-cheat#userland-setup-getting-started-natively Incompatible archs are skipped. '''.format(emulators_string) ) @@ -1497,9 +1497,9 @@ Force rebuild even if sources didn't change. 'help': ''' Use the given GCC -O optimization level. For some scripts, there are hard technical challenges why it cannot -be implemented, e.g.: https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-o0 +be implemented, e.g.: https://cirosantilli.com/linux-kernel-module-cheat#kernel-o0 and for others such as gem5 have their custom mechanism: -https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-debug-build +https://cirosantilli.com/linux-kernel-module-cheat#gem5-debug-build ''', } } diff --git a/config.py b/config.py index 4846754..787624e 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,5 @@ ''' -https://github.com/cirosantilli/linux-kernel-module-cheat#default-command-line-arguments +https://cirosantilli.com/linux-kernel-module-cheat#default-command-line-arguments ''' def set_args(args, script_name): diff --git a/copy-overlay b/copy-overlay index 3ad0692..f557ea7 100755 --- a/copy-overlay +++ b/copy-overlay @@ -11,7 +11,7 @@ class Main(common.BuildCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#rootfs_overlay +https://cirosantilli.com/linux-kernel-module-cheat#rootfs_overlay ''') def build(self): diff --git a/gem5-bench-dhrystone b/gem5-bench-dhrystone index 24d069d..3cb956c 100755 --- a/gem5-bench-dhrystone +++ b/gem5-bench-dhrystone @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-run-benchmark +# https://cirosantilli.com/linux-kernel-module-cheat#gem5-run-benchmark set -eu root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" diff --git a/hello_host_kernel_module/README.adoc b/hello_host_kernel_module/README.adoc index ebb2fa0..81f0248 100644 --- a/hello_host_kernel_module/README.adoc +++ b/hello_host_kernel_module/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#hello-host +https://cirosantilli.com/linux-kernel-module-cheat#hello-host diff --git a/kernel_modules/Makefile b/kernel_modules/Makefile index 803fd99..fbf4977 100644 --- a/kernel_modules/Makefile +++ b/kernel_modules/Makefile @@ -14,7 +14,7 @@ ccflags-y := \ $(CCFLAGS) ifeq ($(ARCH),x86) - # https://github.com/cirosantilli/linux-kernel-module-cheat#floating-point-in-kernel-modules + # https://cirosantilli.com/linux-kernel-module-cheat#floating-point-in-kernel-modules CFLAGS_REMOVE_float.o += -mno-sse -mno-sse2 endif diff --git a/kernel_modules/README.adoc b/kernel_modules/README.adoc index 3cf2344..513b0ef 100644 --- a/kernel_modules/README.adoc +++ b/kernel_modules/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-kernel-module-hack +https://cirosantilli.com/linux-kernel-module-cheat#your-first-kernel-module-hack diff --git a/kernel_modules/anonymous_inode.c b/kernel_modules/anonymous_inode.c index d060763..a436855 100644 --- a/kernel_modules/anonymous_inode.c +++ b/kernel_modules/anonymous_inode.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#anonymous-inode */ +/* https://cirosantilli.com/linux-kernel-module-cheat#anonymous-inode */ #include #include diff --git a/kernel_modules/character_device.c b/kernel_modules/character_device.c index eb9cba8..db7c2ca 100644 --- a/kernel_modules/character_device.c +++ b/kernel_modules/character_device.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#character-devices */ +/* https://cirosantilli.com/linux-kernel-module-cheat#character-devices */ #include /* register_chrdev, unregister_chrdev */ #include diff --git a/kernel_modules/character_device_create.c b/kernel_modules/character_device_create.c index 16af748..15daace 100644 --- a/kernel_modules/character_device_create.c +++ b/kernel_modules/character_device_create.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#automatically-create-character-device-file-on-insmod */ +/* https://cirosantilli.com/linux-kernel-module-cheat#automatically-create-character-device-file-on-insmod */ #include #include diff --git a/kernel_modules/debugfs.c b/kernel_modules/debugfs.c index c6016e0..dd87c23 100644 --- a/kernel_modules/debugfs.c +++ b/kernel_modules/debugfs.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#debugfs */ +/* https://cirosantilli.com/linux-kernel-module-cheat#debugfs */ #include #include diff --git a/kernel_modules/dep.c b/kernel_modules/dep.c index 06c474d..d70e9ce 100644 --- a/kernel_modules/dep.c +++ b/kernel_modules/dep.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */ #include #include diff --git a/kernel_modules/dep2.c b/kernel_modules/dep2.c index 63e76e0..fbb6d78 100644 --- a/kernel_modules/dep2.c +++ b/kernel_modules/dep2.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */ #include #include diff --git a/kernel_modules/dump_stack.c b/kernel_modules/dump_stack.c index 0e92ce9..3201687 100644 --- a/kernel_modules/dump_stack.c +++ b/kernel_modules/dump_stack.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#dump_stack */ +/* https://cirosantilli.com/linux-kernel-module-cheat#dump_stack */ #include #include diff --git a/kernel_modules/float.c b/kernel_modules/float.c index 6ecf805..f079542 100644 --- a/kernel_modules/float.c +++ b/kernel_modules/float.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#floating-point-in-kernel-modules */ +/* https://cirosantilli.com/linux-kernel-module-cheat#floating-point-in-kernel-modules */ #include #include diff --git a/kernel_modules/fops.c b/kernel_modules/fops.c index 8db361c..bef97df 100644 --- a/kernel_modules/fops.c +++ b/kernel_modules/fops.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#file-operations */ +/* https://cirosantilli.com/linux-kernel-module-cheat#file-operations */ #include #include /* EFAULT */ diff --git a/kernel_modules/hello.c b/kernel_modules/hello.c index bc92c6b..6f09e41 100644 --- a/kernel_modules/hello.c +++ b/kernel_modules/hello.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */ +/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */ #include #include diff --git a/kernel_modules/hello2.c b/kernel_modules/hello2.c index 8235dfa..79403a8 100644 --- a/kernel_modules/hello2.c +++ b/kernel_modules/hello2.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */ +/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */ #include #include diff --git a/kernel_modules/init_module.c b/kernel_modules/init_module.c index 730b870..7eff079 100644 --- a/kernel_modules/init_module.c +++ b/kernel_modules/init_module.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#init_module */ +/* https://cirosantilli.com/linux-kernel-module-cheat#init_module */ #include #include diff --git a/kernel_modules/ioctl.c b/kernel_modules/ioctl.c index 7207683..7ed6967 100644 --- a/kernel_modules/ioctl.c +++ b/kernel_modules/ioctl.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ioctl */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ioctl */ #include #include diff --git a/kernel_modules/irq.c b/kernel_modules/irq.c index 56b9bb6..dbbcb23 100644 --- a/kernel_modules/irq.c +++ b/kernel_modules/irq.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#irq-ko */ +/* https://cirosantilli.com/linux-kernel-module-cheat#irq-ko */ #include #include diff --git a/kernel_modules/kprobe_example.c b/kernel_modules/kprobe_example.c index fa53ca6..bacf77b 100644 --- a/kernel_modules/kprobe_example.c +++ b/kernel_modules/kprobe_example.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kprobes +/* https://cirosantilli.com/linux-kernel-module-cheat#kprobes * * Adapted from: https://github.com/torvalds/linux/blob/v4.17/samples/kprobes/kprobe_example.c */ diff --git a/kernel_modules/kstrto.c b/kernel_modules/kstrto.c index 32cb765..798e2b7 100644 --- a/kernel_modules/kstrto.c +++ b/kernel_modules/kstrto.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kstrto */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kstrto */ #include #include diff --git a/kernel_modules/kthread.c b/kernel_modules/kthread.c index 7c42ebd..e42a070 100644 --- a/kernel_modules/kthread.c +++ b/kernel_modules/kthread.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthread */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kthread */ #include /* usleep_range */ #include diff --git a/kernel_modules/kthreads.c b/kernel_modules/kthreads.c index 50509d5..30ce5da 100644 --- a/kernel_modules/kthreads.c +++ b/kernel_modules/kthreads.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthreads */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kthreads */ #include /* usleep_range */ #include diff --git a/kernel_modules/memcpy_overflow.c b/kernel_modules/memcpy_overflow.c index 9e5a94a..33123c4 100644 --- a/kernel_modules/memcpy_overflow.c +++ b/kernel_modules/memcpy_overflow.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#config_fortify_source */ +/* https://cirosantilli.com/linux-kernel-module-cheat#config_fortify_source */ #include #include diff --git a/kernel_modules/mmap.c b/kernel_modules/mmap.c index 25a0b40..7d35b17 100644 --- a/kernel_modules/mmap.c +++ b/kernel_modules/mmap.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#mmap */ +/* https://cirosantilli.com/linux-kernel-module-cheat#mmap */ #include #include diff --git a/kernel_modules/module_info.c b/kernel_modules/module_info.c index 78143b7..944c4cc 100644 --- a/kernel_modules/module_info.c +++ b/kernel_modules/module_info.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#module_info */ +/* https://cirosantilli.com/linux-kernel-module-cheat#module_info */ #include #include diff --git a/kernel_modules/myprintk.c b/kernel_modules/myprintk.c index fc46f71..9510f7b 100644 --- a/kernel_modules/myprintk.c +++ b/kernel_modules/myprintk.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#pr_debug */ +/* https://cirosantilli.com/linux-kernel-module-cheat#pr_debug */ #include #include diff --git a/kernel_modules/netlink.c b/kernel_modules/netlink.c index 0f012b6..dc206b5 100644 --- a/kernel_modules/netlink.c +++ b/kernel_modules/netlink.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets */ +/* https://cirosantilli.com/linux-kernel-module-cheat#netlink-sockets */ #include /* usleep_range */ #include diff --git a/kernel_modules/oops.c b/kernel_modules/oops.c index 9d2337b..7b5f9af 100644 --- a/kernel_modules/oops.c +++ b/kernel_modules/oops.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-panic-and-oops */ #include #include diff --git a/kernel_modules/panic.c b/kernel_modules/panic.c index 3d85555..9e061ba 100644 --- a/kernel_modules/panic.c +++ b/kernel_modules/panic.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-panic-and-oops */ #include #include diff --git a/kernel_modules/params.c b/kernel_modules/params.c index a542344..f371727 100644 --- a/kernel_modules/params.c +++ b/kernel_modules/params.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-parameters */ +/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-parameters */ #include #include /* usleep_range */ diff --git a/kernel_modules/pci_min.c b/kernel_modules/pci_min.c index 37269f5..db853a9 100644 --- a/kernel_modules/pci_min.c +++ b/kernel_modules/pci_min.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#pci_min */ +/* https://cirosantilli.com/linux-kernel-module-cheat#pci_min */ #include #include diff --git a/kernel_modules/pmccntr.c b/kernel_modules/pmccntr.c index 31f3284..9349a22 100644 --- a/kernel_modules/pmccntr.c +++ b/kernel_modules/pmccntr.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-pmccntr-register */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-pmccntr-register */ #include #include /* EFAULT */ diff --git a/kernel_modules/poll.c b/kernel_modules/poll.c index 09c08ec..ee5adcf 100644 --- a/kernel_modules/poll.c +++ b/kernel_modules/poll.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#poll */ +/* https://cirosantilli.com/linux-kernel-module-cheat#poll */ #include #include /* usleep_range */ diff --git a/kernel_modules/procfs.c b/kernel_modules/procfs.c index ae7529a..ba8ec07 100644 --- a/kernel_modules/procfs.c +++ b/kernel_modules/procfs.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#procfs */ +/* https://cirosantilli.com/linux-kernel-module-cheat#procfs */ #include #include diff --git a/kernel_modules/qemu_edu.c b/kernel_modules/qemu_edu.c index 70f89d1..edd1bfa 100644 --- a/kernel_modules/qemu_edu.c +++ b/kernel_modules/qemu_edu.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-edu */ +/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-edu */ #include /* cdev_ */ #include diff --git a/kernel_modules/ring0.c b/kernel_modules/ring0.c index 211f342..2f34bd6 100644 --- a/kernel_modules/ring0.c +++ b/kernel_modules/ring0.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ring0 */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ring0 */ #include #include diff --git a/kernel_modules/schedule.c b/kernel_modules/schedule.c index ac72871..d7b7c44 100644 --- a/kernel_modules/schedule.c +++ b/kernel_modules/schedule.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#schedule */ +/* https://cirosantilli.com/linux-kernel-module-cheat#schedule */ #include #include diff --git a/kernel_modules/seq_file.c b/kernel_modules/seq_file.c index f24fd1f..88f0a5c 100644 --- a/kernel_modules/seq_file.c +++ b/kernel_modules/seq_file.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#seq_file */ +/* https://cirosantilli.com/linux-kernel-module-cheat#seq_file */ #include #include /* EFAULT */ diff --git a/kernel_modules/seq_file_single_open.c b/kernel_modules/seq_file_single_open.c index d759d2b..740716c 100644 --- a/kernel_modules/seq_file_single_open.c +++ b/kernel_modules/seq_file_single_open.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#seq_file-single_open */ +/* https://cirosantilli.com/linux-kernel-module-cheat#seq_file-single_open */ #include #include /* EFAULT */ diff --git a/kernel_modules/sleep.c b/kernel_modules/sleep.c index 4acd3c0..3e2a7d7 100644 --- a/kernel_modules/sleep.c +++ b/kernel_modules/sleep.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#sleep */ +/* https://cirosantilli.com/linux-kernel-module-cheat#sleep */ #include /* usleep_range */ #include diff --git a/kernel_modules/strlen_overflow.c b/kernel_modules/strlen_overflow.c index 574fddc..3a554bc 100644 --- a/kernel_modules/strlen_overflow.c +++ b/kernel_modules/strlen_overflow.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#config_fortify_source */ +/* https://cirosantilli.com/linux-kernel-module-cheat#config_fortify_source */ #include #include diff --git a/kernel_modules/sysfs.c b/kernel_modules/sysfs.c index 7319447..574aa3c 100644 --- a/kernel_modules/sysfs.c +++ b/kernel_modules/sysfs.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#sysfs */ +/* https://cirosantilli.com/linux-kernel-module-cheat#sysfs */ #include #include diff --git a/kernel_modules/timer.c b/kernel_modules/timer.c index fd1943c..9a5d8e8 100644 --- a/kernel_modules/timer.c +++ b/kernel_modules/timer.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#timers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#timers */ #include #include diff --git a/kernel_modules/vermagic.c b/kernel_modules/vermagic.c index c5ef323..6db29a8 100644 --- a/kernel_modules/vermagic.c +++ b/kernel_modules/vermagic.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#vermagic */ +/* https://cirosantilli.com/linux-kernel-module-cheat#vermagic */ #include #include diff --git a/kernel_modules/vermagic_fail.c b/kernel_modules/vermagic_fail.c index 7ae698a..8461f8c 100644 --- a/kernel_modules/vermagic_fail.c +++ b/kernel_modules/vermagic_fail.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#vermagic */ +/* https://cirosantilli.com/linux-kernel-module-cheat#vermagic */ #include #include diff --git a/kernel_modules/virt_to_phys.c b/kernel_modules/virt_to_phys.c index df194c4..7f524ae 100644 --- a/kernel_modules/virt_to_phys.c +++ b/kernel_modules/virt_to_phys.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#virt_to_phys */ +/* https://cirosantilli.com/linux-kernel-module-cheat#virt_to_phys */ #include /* virt_to_phys */ #include diff --git a/kernel_modules/wait_queue.c b/kernel_modules/wait_queue.c index bb7d2d2..122b601 100644 --- a/kernel_modules/wait_queue.c +++ b/kernel_modules/wait_queue.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#wait-queues */ +/* https://cirosantilli.com/linux-kernel-module-cheat#wait-queues */ #include /* usleep_range */ #include diff --git a/kernel_modules/wait_queue2.c b/kernel_modules/wait_queue2.c index bb7d2d2..122b601 100644 --- a/kernel_modules/wait_queue2.c +++ b/kernel_modules/wait_queue2.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#wait-queues */ +/* https://cirosantilli.com/linux-kernel-module-cheat#wait-queues */ #include /* usleep_range */ #include diff --git a/kernel_modules/warn_on.c b/kernel_modules/warn_on.c index 8f67a7a..f89d111 100644 --- a/kernel_modules/warn_on.c +++ b/kernel_modules/warn_on.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#warn_on */ +/* https://cirosantilli.com/linux-kernel-module-cheat#warn_on */ #include #include diff --git a/kernel_modules/work_from_work.c b/kernel_modules/work_from_work.c index ca05f8f..1922d85 100644 --- a/kernel_modules/work_from_work.c +++ b/kernel_modules/work_from_work.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#workqueue-from-workqueue */ +/* https://cirosantilli.com/linux-kernel-module-cheat#workqueue-from-workqueue */ #include #include diff --git a/kernel_modules/workqueue_cheat.c b/kernel_modules/workqueue_cheat.c index f6f9b9d..30c3a06 100644 --- a/kernel_modules/workqueue_cheat.c +++ b/kernel_modules/workqueue_cheat.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#workqueues */ +/* https://cirosantilli.com/linux-kernel-module-cheat#workqueues */ #include /* usleep_range */ #include diff --git a/linux_config/README.adoc b/linux_config/README.adoc index 14ea66c..ce0b7ce 100644 --- a/linux_config/README.adoc +++ b/linux_config/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-configs-about +https://cirosantilli.com/linux-kernel-module-cheat#kernel-configs-about diff --git a/linux_config/buildroot-aarch64 b/linux_config/buildroot-aarch64 index 6ffe667..017bd08 100644 --- a/linux_config/buildroot-aarch64 +++ b/linux_config/buildroot-aarch64 @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#buildroot-kernel-config +# https://cirosantilli.com/linux-kernel-module-cheat#buildroot-kernel-config CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y diff --git a/linux_config/buildroot-arm b/linux_config/buildroot-arm index 8e80fa1..39178d2 100644 --- a/linux_config/buildroot-arm +++ b/linux_config/buildroot-arm @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#buildroot-kernel-config +# https://cirosantilli.com/linux-kernel-module-cheat#buildroot-kernel-config # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y diff --git a/linux_config/buildroot-x86_64 b/linux_config/buildroot-x86_64 index 0ff1194..91f9c66 100644 --- a/linux_config/buildroot-x86_64 +++ b/linux_config/buildroot-x86_64 @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#buildroot-kernel-config +# https://cirosantilli.com/linux-kernel-module-cheat#buildroot-kernel-config CONFIG_SYSVIPC=y CONFIG_IKCONFIG=y diff --git a/linux_config/min b/linux_config/min index 8a83849..bbaf715 100644 --- a/linux_config/min +++ b/linux_config/min @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#linux-kernel-min-config +# https://cirosantilli.com/linux-kernel-module-cheat#linux-kernel-min-config ## gem5 x86 diff --git a/linux_config/nfs b/linux_config/nfs index bc926be..2391f45 100644 --- a/linux_config/nfs +++ b/linux_config/nfs @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#nfs +# https://cirosantilli.com/linux-kernel-module-cheat#nfs CONFIG_NFSD=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y diff --git a/linux_config/selinux b/linux_config/selinux index 1341587..36d9faa 100644 --- a/linux_config/selinux +++ b/linux_config/selinux @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#selinux +# https://cirosantilli.com/linux-kernel-module-cheat#selinux CONFIG_AUDIT=y CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y diff --git a/lkmc.c b/lkmc.c index ac12f78..21abf07 100644 --- a/lkmc.c +++ b/lkmc.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc-c */ +/* https://cirosantilli.com/linux-kernel-module-cheat#lkmc-c */ #include #include diff --git a/lkmc.h b/lkmc.h index 582e3ea..ce05a93 100644 --- a/lkmc.h +++ b/lkmc.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc-c */ +/* https://cirosantilli.com/linux-kernel-module-cheat#lkmc-c */ #ifndef LKMC_H #define LKMC_H diff --git a/lkmc/README.adoc b/lkmc/README.adoc index 7c6fe7f..5c2f267 100644 --- a/lkmc/README.adoc +++ b/lkmc/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc-directory +https://cirosantilli.com/linux-kernel-module-cheat#lkmc-directory diff --git a/lkmc/aarch64.h b/lkmc/aarch64.h index c5db2a8..16e6581 100644 --- a/lkmc/aarch64.h +++ b/lkmc/aarch64.h @@ -37,7 +37,7 @@ bl lkmc_assert_memcmp; \ ; -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #define LKMC_EPILOGUE \ ldp x19, x20, [sp, 0x50]; \ ldp x21, x22, [sp, 0x40]; \ @@ -50,7 +50,7 @@ ret; \ ; -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #define LKMC_PROLOGUE \ .text; \ .global main; \ diff --git a/lkmc/anonymous_inode.h b/lkmc/anonymous_inode.h index 93fed14..a0491d3 100644 --- a/lkmc/anonymous_inode.h +++ b/lkmc/anonymous_inode.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#anonymous-inode */ +/* https://cirosantilli.com/linux-kernel-module-cheat#anonymous-inode */ #ifndef LKMC_ANONYMOUS_INODE_H #define LKMC_ANONYMOUS_INODE_H diff --git a/lkmc/arm.h b/lkmc/arm.h index 80ffc7c..ec81ccc 100644 --- a/lkmc/arm.h +++ b/lkmc/arm.h @@ -33,7 +33,7 @@ bl lkmc_assert_memcmp; \ ; -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #define LKMC_EPILOGUE \ add sp, 16; \ ldmia sp!, {r4-r12, lr}; \ @@ -41,7 +41,7 @@ bx lr; \ ; -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #define LKMC_PROLOGUE \ .text; \ .global main; \ diff --git a/lkmc/float.h b/lkmc/float.h index 4259b6e..4fe1c96 100644 --- a/lkmc/float.h +++ b/lkmc/float.h @@ -1,7 +1,7 @@ #ifndef LKMC_FLOAT_H #define LKMC_FLOAT_H -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ieee-754 */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ieee-754 */ #define LKMC_FLOAT_64_SIGN_BITS 1 #define LKMC_FLOAT_64_EXP_BITS 11 diff --git a/lkmc/ioctl.h b/lkmc/ioctl.h index 2469009..99bd62a 100644 --- a/lkmc/ioctl.h +++ b/lkmc/ioctl.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ioctl */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ioctl */ #ifndef LKMC_IOCTL_H #define LKMC_IOCTL_H diff --git a/lkmc/m5ops.h b/lkmc/m5ops.h index 6051676..9f5f9ad 100644 --- a/lkmc/m5ops.h +++ b/lkmc/m5ops.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#m5ops-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#m5ops-instructions */ #ifndef LKMC_M5OPS_H #define LKMC_M5OPS_H diff --git a/lkmc/netlink.h b/lkmc/netlink.h index c31abf7..9fcde89 100644 --- a/lkmc/netlink.h +++ b/lkmc/netlink.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets */ +/* https://cirosantilli.com/linux-kernel-module-cheat#netlink-sockets */ #ifndef LKMC_NETLINK_H #define LKMC_NETLINK_H diff --git a/lkmc/ring0.h b/lkmc/ring0.h index 17fe7cf..cc13a0b 100644 --- a/lkmc/ring0.h +++ b/lkmc/ring0.h @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ring0 */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ring0 */ #ifndef LKMC_RING0_H #define LKMC_RING0_H diff --git a/lkmc/x86_64.h b/lkmc/x86_64.h index 0601d41..701de0e 100644 --- a/lkmc/x86_64.h +++ b/lkmc/x86_64.h @@ -43,7 +43,7 @@ /* Function epilogue. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86_64-calling-convention + * https://cirosantilli.com/linux-kernel-module-cheat#x86_64-calling-convention */ #define LKMC_EPILOGUE \ add $8, %rsp; \ @@ -59,7 +59,7 @@ /* Function prologue. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86_64-calling-convention + * https://cirosantilli.com/linux-kernel-module-cheat#x86_64-calling-convention */ #define LKMC_PROLOGUE \ .text; \ diff --git a/patches/README.adoc b/patches/README.adoc index c3c3830..149d14c 100644 --- a/patches/README.adoc +++ b/patches/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#patches-directory +https://cirosantilli.com/linux-kernel-module-cheat#patches-directory diff --git a/patches/global/README.adoc b/patches/global/README.adoc index 059f4dd..bf36def 100644 --- a/patches/global/README.adoc +++ b/patches/global/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#patches-global-directory +https://cirosantilli.com/linux-kernel-module-cheat#patches-global-directory diff --git a/patches/manual/README.adoc b/patches/manual/README.adoc index c3fa67b..d36434e 100644 --- a/patches/manual/README.adoc +++ b/patches/manual/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#patches-manual-directory +https://cirosantilli.com/linux-kernel-module-cheat#patches-manual-directory diff --git a/path_properties.py b/path_properties.py index 5aab2e7..b6b4cc5 100644 --- a/path_properties.py +++ b/path_properties.py @@ -269,7 +269,7 @@ freestanding_properties = { ], 'extra_objs_lkmc_common': False, } -# See: https://github.com/cirosantilli/linux-kernel-module-cheat#path-properties +# See: https://cirosantilli.com/linux-kernel-module-cheat#path-properties path_properties_tuples = ( PathProperties.default_properties, { diff --git a/publish-gh-pages b/publish-gh-pages index db3fb13..31951e6 100755 --- a/publish-gh-pages +++ b/publish-gh-pages @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#github-pages +# https://cirosantilli.com/linux-kernel-module-cheat#github-pages set -eu git push ./build-doc --github-pages diff --git a/release-download-latest b/release-download-latest index 60e6154..9810713 100755 --- a/release-download-latest +++ b/release-download-latest @@ -7,7 +7,7 @@ class Main(common.LkmcCliFunction): def __init__(self): super().__init__( description='''\ -Usage: https://github.com/cirosantilli/linux-kernel-module-cheat#prebuilt +Usage: https://cirosantilli.com/linux-kernel-module-cheat#prebuilt Implementation: https://stackoverflow.com/questions/24987542/is-there-a-link-to-github-for-downloading-a-file-in-the-latest-release-of-a-repo/50540591#50540591 diff --git a/release-upload b/release-upload index 85461ca..00fe3ff 100755 --- a/release-upload +++ b/release-upload @@ -12,7 +12,7 @@ class Main(common.LkmcCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#release-upload +https://cirosantilli.com/linux-kernel-module-cheat#release-upload ''', ) diff --git a/release-zip b/release-zip index 69a3688..e56e275 100755 --- a/release-zip +++ b/release-zip @@ -9,7 +9,7 @@ class Main(common.LkmcCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#release-zip +https://cirosantilli.com/linux-kernel-module-cheat#release-zip ''', defaults = { 'show_time': False, diff --git a/rootfs_overlay/.profile b/rootfs_overlay/.profile index d7c6426..fa2665a 100644 --- a/rootfs_overlay/.profile +++ b/rootfs_overlay/.profile @@ -1,4 +1,4 @@ -# https://github.com/cirosantilli/linux-kernel-module-cheat#busybox-shell-initrc-files +# https://cirosantilli.com/linux-kernel-module-cheat#busybox-shell-initrc-files echo "hello .profile" export PS1='\w\n\u@\h# ' cd /lkmc diff --git a/rootfs_overlay/README.adoc b/rootfs_overlay/README.adoc index 97100ed..a5a3362 100644 --- a/rootfs_overlay/README.adoc +++ b/rootfs_overlay/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#rootfs_overlay +https://cirosantilli.com/linux-kernel-module-cheat#rootfs_overlay diff --git a/rootfs_overlay/etc/init.d/S98 b/rootfs_overlay/etc/init.d/S98 index 2e92321..a66b748 100755 --- a/rootfs_overlay/etc/init.d/S98 +++ b/rootfs_overlay/etc/init.d/S98 @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#init-busybox +# https://cirosantilli.com/linux-kernel-module-cheat#init-busybox echo "hello S98" cd "$lkmc_home" if [ -n "$lkmc_eval" ]; then diff --git a/rootfs_overlay/lkmc/anonymous_inode.sh b/rootfs_overlay/lkmc/anonymous_inode.sh index 89df545..d5e104d 100755 --- a/rootfs_overlay/lkmc/anonymous_inode.sh +++ b/rootfs_overlay/lkmc/anonymous_inode.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#anonymous-inode +# https://cirosantilli.com/linux-kernel-module-cheat#anonymous-inode set -e insmod anonymous_inode.ko [ "$(./kernel_modules/anonymous_inode.out /sys/kernel/debug/lkmc_anonymous_inode 3)" = "$(printf '1\n10\n100')" ] diff --git a/rootfs_overlay/lkmc/conf.sh b/rootfs_overlay/lkmc/conf.sh index 2d37b1c..8edc1ed 100755 --- a/rootfs_overlay/lkmc/conf.sh +++ b/rootfs_overlay/lkmc/conf.sh @@ -1,3 +1,3 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#find-the-kernel-config +# https://cirosantilli.com/linux-kernel-module-cheat#find-the-kernel-config zcat /proc/config.gz | grep -Ei "${1:-}" diff --git a/rootfs_overlay/lkmc/eval_base64.sh b/rootfs_overlay/lkmc/eval_base64.sh index a4f574c..5726475 100755 --- a/rootfs_overlay/lkmc/eval_base64.sh +++ b/rootfs_overlay/lkmc/eval_base64.sh @@ -1,4 +1,4 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#replace-init +# https://cirosantilli.com/linux-kernel-module-cheat#replace-init cd "$lkmc_home" eval "$(printf "$lkmc_eval" | base64 -d)" diff --git a/rootfs_overlay/lkmc/gem5.sh b/rootfs_overlay/lkmc/gem5.sh index 60520c5..eedae30 100755 --- a/rootfs_overlay/lkmc/gem5.sh +++ b/rootfs_overlay/lkmc/gem5.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-restore-new-script +# https://cirosantilli.com/linux-kernel-module-cheat#gem5-restore-new-script m5 checkpoint m5 resetstats m5 readfile | sh diff --git a/rootfs_overlay/lkmc/gem5_exit.sh b/rootfs_overlay/lkmc/gem5_exit.sh index 4ff5c6a..ab13300 100755 --- a/rootfs_overlay/lkmc/gem5_exit.sh +++ b/rootfs_overlay/lkmc/gem5_exit.sh @@ -1,4 +1,4 @@ #!/bin/sh # To be able to do init=/gem5_exit.sh, since kernel CLI argument passing is too messy: -# https://github.com/cirosantilli/linux-kernel-module-cheat#init-arguments +# https://cirosantilli.com/linux-kernel-module-cheat#init-arguments m5 exit diff --git a/rootfs_overlay/lkmc/ioctl.sh b/rootfs_overlay/lkmc/ioctl.sh index e5eaf30..adf2a75 100755 --- a/rootfs_overlay/lkmc/ioctl.sh +++ b/rootfs_overlay/lkmc/ioctl.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#ioctl +# https://cirosantilli.com/linux-kernel-module-cheat#ioctl set -e f=/sys/kernel/debug/lkmc_ioctl insmod ioctl.ko diff --git a/rootfs_overlay/lkmc/loginroot.sh b/rootfs_overlay/lkmc/loginroot.sh index 565ff77..3b66fad 100755 --- a/rootfs_overlay/lkmc/loginroot.sh +++ b/rootfs_overlay/lkmc/loginroot.sh @@ -1,3 +1,3 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#tty +# https://cirosantilli.com/linux-kernel-module-cheat#tty exec /bin/login root diff --git a/rootfs_overlay/lkmc/netlink.sh b/rootfs_overlay/lkmc/netlink.sh index 58dc14d..3b6a4fa 100755 --- a/rootfs_overlay/lkmc/netlink.sh +++ b/rootfs_overlay/lkmc/netlink.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets +# https://cirosantilli.com/linux-kernel-module-cheat#netlink-sockets set -e insmod netlink.ko [ "$(./linux/netlink.out)" = 0 ] diff --git a/rootfs_overlay/lkmc/poll.sh b/rootfs_overlay/lkmc/poll.sh index b19363b..9ec28f5 100755 --- a/rootfs_overlay/lkmc/poll.sh +++ b/rootfs_overlay/lkmc/poll.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#poll +# https://cirosantilli.com/linux-kernel-module-cheat#poll set -e insmod poll.ko ./kernel_modules/poll.out /sys/kernel/debug/lkmc_poll diff --git a/rootfs_overlay/lkmc/test_fail.sh b/rootfs_overlay/lkmc/test_fail.sh index 87931c8..f18eb36 100755 --- a/rootfs_overlay/lkmc/test_fail.sh +++ b/rootfs_overlay/lkmc/test_fail.sh @@ -1,3 +1,3 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string +# https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string echo lkmc_exit_status_1 diff --git a/rootfs_overlay/lkmc/uio_read.sh b/rootfs_overlay/lkmc/uio_read.sh index b68a51b..a6b988f 100755 --- a/rootfs_overlay/lkmc/uio_read.sh +++ b/rootfs_overlay/lkmc/uio_read.sh @@ -1,5 +1,5 @@ #!/bin/sh -# https://github.com/cirosantilli/linux-kernel-module-cheat#uio +# https://cirosantilli.com/linux-kernel-module-cheat#uio set -e modprobe uio_pci_generic # pci_min device diff --git a/run b/run index 711552f..aaae36f 100755 --- a/run +++ b/run @@ -57,9 +57,9 @@ which is what you usually want. '--eval', help='''\ Replace the normal init with a minimal init that just evals the given sh string. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#replace-init +See: https://cirosantilli.com/linux-kernel-module-cheat#replace-init chdir into lkmc_home before running the command: -https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home +https://cirosantilli.com/linux-kernel-module-cheat#lkmc_home ''' ) self.add_argument( @@ -68,7 +68,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home help='''\ Similar to --eval, but the string gets evaled at the last init script, after the normal init finished. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#init-busybox +See: https://cirosantilli.com/linux-kernel-module-cheat#init-busybox ''' ) self.add_argument( @@ -101,7 +101,7 @@ Shortcut for the most common GDB options that you want most of the time. Implies default=False, help='''\ Wait for GDB to connect before starting execution -See: https://github.com/cirosantilli/linux-kernel-module-cheat#gdb +See: https://cirosantilli.com/linux-kernel-module-cheat#gdb ''' ) self.add_argument( @@ -164,9 +164,9 @@ Example: `./run --kernel-cli-after-dash 'lkmc_eval="wget google.com" lkmc_lala=y help='''\ Pass a base64 encoded command line parameter that gets evalled at the end of the normal init. -See: https://github.com/cirosantilli/linux-kernel-module-cheat#init-busybox +See: https://cirosantilli.com/linux-kernel-module-cheat#init-busybox chdir into lkmc_home before running the command: -https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home +https://cirosantilli.com/linux-kernel-module-cheat#lkmc_home Specify the Linux kernel version to be reported by syscall emulation. Defaults to the same kernel version as our default Buildroot build. Currently only works for QEMU. @@ -273,7 +273,7 @@ to use this option: * on the split: ** if on QEMU and `-d` is given, GDB ** if on gem5, the gem5 terminal -See: https://github.com/cirosantilli/linux-kernel-module-cheat#tmux +See: https://cirosantilli.com/linux-kernel-module-cheat#tmux ''' ) self.add_argument( diff --git a/run-android b/run-android index c1ef0e6..5c017a6 100755 --- a/run-android +++ b/run-android @@ -10,7 +10,7 @@ class Main(common.LkmcCliFunction): description='''\ Run android AOSP on the AOSP pre-build emulator. -https://github.com/cirosantilli/linux-kernel-module-cheat#android +https://cirosantilli.com/linux-kernel-module-cheat#android ''', ) self.add_argument('extra-emulator-args', default='', nargs='?') diff --git a/run-gdb b/run-gdb index dafe0e8..f7c90f3 100755 --- a/run-gdb +++ b/run-gdb @@ -97,20 +97,20 @@ Connect with GDB to an emulator to debug Linux itself default=True, help='''\ Run `continue` in GDB after connecting. -* https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-early-boot -* https://github.com/cirosantilli/linux-kernel-module-cheat#freestanding-programs -* https://github.com/cirosantilli/linux-kernel-module-cheat#baremetal-gdb-step-debug +* https://cirosantilli.com/linux-kernel-module-cheat#gdb-step-debug-early-boot +* https://cirosantilli.com/linux-kernel-module-cheat#freestanding-programs +* https://cirosantilli.com/linux-kernel-module-cheat#baremetal-gdb-step-debug ''' ) self.add_argument( '--gdbserver', default=False, - help='''https://github.com/cirosantilli/linux-kernel-module-cheat#gdbserver''' + help='''https://cirosantilli.com/linux-kernel-module-cheat#gdbserver''' ) self.add_argument( '--kgdb', default=False, - help='''https://github.com/cirosantilli/linux-kernel-module-cheat#kgdb''' + help='''https://cirosantilli.com/linux-kernel-module-cheat#kgdb''' ) self.add_argument( '--lxsymbols', @@ -118,8 +118,8 @@ Run `continue` in GDB after connecting. help='''\ Use the Linux kernel lxsymbols GDB script. Only enabled by default when debugging the Linux kernel, not on userland or baremetal. -* https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-kernel-module -* https://github.com/cirosantilli/linux-kernel-module-cheat#bypass-lx-symbols +* https://cirosantilli.com/linux-kernel-module-cheat#gdb-step-debug-kernel-module +* https://cirosantilli.com/linux-kernel-module-cheat#bypass-lx-symbols ''' ) self.add_argument( @@ -127,7 +127,7 @@ Only enabled by default when debugging the Linux kernel, not on userland or bare default=False, help='''\ Use the built-in GDB CPU simulator. -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-builtin-cpu-simulator +https://cirosantilli.com/linux-kernel-module-cheat#gdb-builtin-cpu-simulator ''' ) self.add_argument( diff --git a/test b/test index f60aeea..f353e79 100755 --- a/test +++ b/test @@ -8,7 +8,7 @@ class Main(common.TestCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#automated-tests +https://cirosantilli.com/linux-kernel-module-cheat#automated-tests ''' ) self.add_argument( diff --git a/test-build-userland b/test-build-userland index 4517c4e..0ab01e2 100755 --- a/test-build-userland +++ b/test-build-userland @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#cli-script-tests +# https://cirosantilli.com/linux-kernel-module-cheat#cli-script-tests set -eux diff --git a/test-executables b/test-executables index e04e8b0..c6ec566 100755 --- a/test-executables +++ b/test-executables @@ -16,9 +16,9 @@ class Main(common.TestCliFunction): Test userland executables in user mode, or baremetal executables in full system depending on the value of the --mode option. See also: -* https://github.com/cirosantilli/linux-kernel-module-cheat#user-mode-tests -* https://github.com/cirosantilli/linux-kernel-module-cheat#baremetal-tests -* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively +* https://cirosantilli.com/linux-kernel-module-cheat#user-mode-tests +* https://cirosantilli.com/linux-kernel-module-cheat#baremetal-tests +* https://cirosantilli.com/linux-kernel-module-cheat#userland-setup-getting-started-natively ''' if not 'defaults' in kwargs: kwargs['defaults'] = {} diff --git a/test-executables-in-tree b/test-executables-in-tree index f87bde2..0bb5031 100755 --- a/test-executables-in-tree +++ b/test-executables-in-tree @@ -8,7 +8,7 @@ class Main(test_user_mode.Main): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively +https://cirosantilli.com/linux-kernel-module-cheat#userland-setup-getting-started-natively ''', defaults={ 'emulators': ['native'], diff --git a/test-gdb b/test-gdb index 35f8c64..bf5261e 100755 --- a/test-gdb +++ b/test-gdb @@ -11,7 +11,7 @@ class Main(common.TestCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests +https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests ''', defaults={ 'mode': 'userland', diff --git a/test-test-executables b/test-test-executables index 4e45cb2..584d995 100755 --- a/test-test-executables +++ b/test-test-executables @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# https://github.com/cirosantilli/linux-kernel-module-cheat#cli-script-tests +# https://cirosantilli.com/linux-kernel-module-cheat#cli-script-tests set -eux diff --git a/test-userland-full-system b/test-userland-full-system index 32623d1..6d2b9ca 100755 --- a/test-userland-full-system +++ b/test-userland-full-system @@ -9,7 +9,7 @@ class Main(common.TestCliFunction): def __init__(self): super().__init__( description='''\ -https://github.com/cirosantilli/linux-kernel-module-cheat#test-userland-in-full-system +https://cirosantilli.com/linux-kernel-module-cheat#test-userland-in-full-system ''' ) def timed_main(self): diff --git a/trace-boot b/trace-boot index 51458fc..3a731ee 100755 --- a/trace-boot +++ b/trace-boot @@ -9,7 +9,7 @@ class Main(common.LkmcCliFunction): super().__init__( description='''Trace the PIC addresses executed on a Linux kernel boot. -More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#tracing +More information at: https://cirosantilli.com/linux-kernel-module-cheat#tracing ''' ) diff --git a/userland/README.adoc b/userland/README.adoc index b21e9b8..2c65779 100644 --- a/userland/README.adoc +++ b/userland/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#userland-content +https://cirosantilli.com/linux-kernel-module-cheat#userland-content diff --git a/userland/arch/aarch64/add.S b/userland/arch/aarch64/add.S index 76dac10..1d1a0d6 100644 --- a/userland/arch/aarch64/add.S +++ b/userland/arch/aarch64/add.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/aarch64/add_vector.S b/userland/arch/aarch64/add_vector.S index 4606025..9a47456 100644 --- a/userland/arch/aarch64/add_vector.S +++ b/userland/arch/aarch64/add_vector.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-add-vector-instruction +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-add-vector-instruction * * Add a bunch of integers in one go. */ diff --git a/userland/arch/aarch64/adr.S b/userland/arch/aarch64/adr.S index f06570d..63adcce 100644 --- a/userland/arch/aarch64/adr.S +++ b/userland/arch/aarch64/adr.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-adr-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-adr-instruction */ #include diff --git a/userland/arch/aarch64/adrp.S b/userland/arch/aarch64/adrp.S index 0c874b7..3ac8875 100644 --- a/userland/arch/aarch64/adrp.S +++ b/userland/arch/aarch64/adrp.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-adr-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-adr-instruction */ #include diff --git a/userland/arch/aarch64/beq.S b/userland/arch/aarch64/beq.S index 1f8814e..950d950 100644 --- a/userland/arch/aarch64/beq.S +++ b/userland/arch/aarch64/beq.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-beq-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-beq-instruction */ #include diff --git a/userland/arch/aarch64/bfi.S b/userland/arch/aarch64/bfi.S index 422bebc..9f38a45 100644 --- a/userland/arch/aarch64/bfi.S +++ b/userland/arch/aarch64/bfi.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bfi-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bfi-instruction */ #include diff --git a/userland/arch/aarch64/cbz.S b/userland/arch/aarch64/cbz.S index 0e60164..7c5ca58 100644 --- a/userland/arch/aarch64/cbz.S +++ b/userland/arch/aarch64/cbz.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-cbz-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-cbz-instruction */ #include diff --git a/userland/arch/aarch64/comments.S b/userland/arch/aarch64/comments.S index 44c28f5..0bbd900 100644 --- a/userland/arch/aarch64/comments.S +++ b/userland/arch/aarch64/comments.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-comments */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-comments */ #include LKMC_PROLOGUE diff --git a/userland/arch/aarch64/cset.S b/userland/arch/aarch64/cset.S index f555b2f..c5fc934 100644 --- a/userland/arch/aarch64/cset.S +++ b/userland/arch/aarch64/cset.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-cset-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-cset-instruction */ #include diff --git a/userland/arch/aarch64/fadd_scalar.S b/userland/arch/aarch64/fadd_scalar.S index 7b9ab2d..be2b2a5 100644 --- a/userland/arch/aarch64/fadd_scalar.S +++ b/userland/arch/aarch64/fadd_scalar.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-fadd-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-fadd-instruction */ #include diff --git a/userland/arch/aarch64/fadd_vector.S b/userland/arch/aarch64/fadd_vector.S index 4ce92dc..7a4fc6b 100644 --- a/userland/arch/aarch64/fadd_vector.S +++ b/userland/arch/aarch64/fadd_vector.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-fadd-instruction +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-fadd-instruction * * Add a bunch of floating point numbers in one go. */ diff --git a/userland/arch/aarch64/freestanding/linux/hello.S b/userland/arch/aarch64/freestanding/linux/hello.S index fa4c298..c95cb33 100644 --- a/userland/arch/aarch64/freestanding/linux/hello.S +++ b/userland/arch/aarch64/freestanding/linux/hello.S @@ -1,5 +1,5 @@ /* aarch64 freestanding Linux hello world - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ .text diff --git a/userland/arch/aarch64/gas_data_sizes.S b/userland/arch/aarch64/gas_data_sizes.S index 45ecf72..4efe1cf 100644 --- a/userland/arch/aarch64/gas_data_sizes.S +++ b/userland/arch/aarch64/gas_data_sizes.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ #include diff --git a/userland/arch/aarch64/gdb_tests/README.adoc b/userland/arch/aarch64/gdb_tests/README.adoc index 1bcfcd0..0822158 100644 --- a/userland/arch/aarch64/gdb_tests/README.adoc +++ b/userland/arch/aarch64/gdb_tests/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests +https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests diff --git a/userland/arch/aarch64/immediates.S b/userland/arch/aarch64/immediates.S index 1caf6c5..69e607c 100644 --- a/userland/arch/aarch64/immediates.S +++ b/userland/arch/aarch64/immediates.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-immediates */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-immediates */ #include LKMC_PROLOGUE diff --git a/userland/arch/aarch64/inline_asm/earlyclobber.c b/userland/arch/aarch64/inline_asm/earlyclobber.c index 4e9b6f2..cd0613c 100644 --- a/userland/arch/aarch64/inline_asm/earlyclobber.c +++ b/userland/arch/aarch64/inline_asm/earlyclobber.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-early-clobbers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-early-clobbers */ #include #include diff --git a/userland/arch/aarch64/inline_asm/freestanding/linux/hello.c b/userland/arch/aarch64/inline_asm/freestanding/linux/hello.c index f1f48e9..865fc0c 100644 --- a/userland/arch/aarch64/inline_asm/freestanding/linux/hello.c +++ b/userland/arch/aarch64/inline_asm/freestanding/linux/hello.c @@ -1,5 +1,5 @@ /* aarch64 freestanding C inline assemby Linux hello world - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ #include diff --git a/userland/arch/aarch64/inline_asm/freestanding/linux/hello_clobbers.c b/userland/arch/aarch64/inline_asm/freestanding/linux/hello_clobbers.c index af0b69e..af15db6 100644 --- a/userland/arch/aarch64/inline_asm/freestanding/linux/hello_clobbers.c +++ b/userland/arch/aarch64/inline_asm/freestanding/linux/hello_clobbers.c @@ -2,7 +2,7 @@ * The code is more complicated, and I was not able to get as efficient, * so better just stick to named register variables. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ #include diff --git a/userland/arch/aarch64/inline_asm/inc.c b/userland/arch/aarch64/inline_asm/inc.c index 80b259c..ad5bdb3 100644 --- a/userland/arch/aarch64/inline_asm/inc.c +++ b/userland/arch/aarch64/inline_asm/inc.c @@ -1,6 +1,6 @@ /* Increment a variable in inline assembly. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/aarch64/inline_asm/inc_float.c b/userland/arch/aarch64/inline_asm/inc_float.c index bada60d..dd54723 100644 --- a/userland/arch/aarch64/inline_asm/inc_float.c +++ b/userland/arch/aarch64/inline_asm/inc_float.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-floating-point-arm */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-floating-point-arm */ #include diff --git a/userland/arch/aarch64/inline_asm/linux/asm_from_c.c b/userland/arch/aarch64/inline_asm/linux/asm_from_c.c index d5b6bc6..6c733aa 100644 --- a/userland/arch/aarch64/inline_asm/linux/asm_from_c.c +++ b/userland/arch/aarch64/inline_asm/linux/asm_from_c.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #include #include diff --git a/userland/arch/aarch64/inline_asm/reg_var.c b/userland/arch/aarch64/inline_asm/reg_var.c index 52ed40d..e5adecb 100644 --- a/userland/arch/aarch64/inline_asm/reg_var.c +++ b/userland/arch/aarch64/inline_asm/reg_var.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ #include #include diff --git a/userland/arch/aarch64/inline_asm/reg_var_float.c b/userland/arch/aarch64/inline_asm/reg_var_float.c index 8c1c88e..c931476 100644 --- a/userland/arch/aarch64/inline_asm/reg_var_float.c +++ b/userland/arch/aarch64/inline_asm/reg_var_float.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ #include #include diff --git a/userland/arch/aarch64/ld2.S b/userland/arch/aarch64/ld2.S index eebde98..4c0b3c7 100644 --- a/userland/arch/aarch64/ld2.S +++ b/userland/arch/aarch64/ld2.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-ld2-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-ld2-instruction */ #include diff --git a/userland/arch/aarch64/lkmc_assert_eq_fail.S b/userland/arch/aarch64/lkmc_assert_eq_fail.S index 82ffe6c..24aa2db 100644 --- a/userland/arch/aarch64/lkmc_assert_eq_fail.S +++ b/userland/arch/aarch64/lkmc_assert_eq_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/aarch64/lkmc_assert_memcmp_fail.S b/userland/arch/aarch64/lkmc_assert_memcmp_fail.S index 338aa3d..22484df 100644 --- a/userland/arch/aarch64/lkmc_assert_memcmp_fail.S +++ b/userland/arch/aarch64/lkmc_assert_memcmp_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/aarch64/movk.S b/userland/arch/aarch64/movk.S index a94b82c..082d39f 100644 --- a/userland/arch/aarch64/movk.S +++ b/userland/arch/aarch64/movk.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-movk-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-movk-instruction */ #include diff --git a/userland/arch/aarch64/movn.S b/userland/arch/aarch64/movn.S index 54f97a6..f614ca6 100644 --- a/userland/arch/aarch64/movn.S +++ b/userland/arch/aarch64/movn.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-movn-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-movn-instruction */ #include diff --git a/userland/arch/aarch64/pc.S b/userland/arch/aarch64/pc.S index e2086e4..4c58338 100644 --- a/userland/arch/aarch64/pc.S +++ b/userland/arch/aarch64/pc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#assembly-registers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#assembly-registers */ #include diff --git a/userland/arch/aarch64/registers.S b/userland/arch/aarch64/registers.S index fa0c8a2..3fdc2ac 100644 --- a/userland/arch/aarch64/registers.S +++ b/userland/arch/aarch64/registers.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#assembly-registers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#assembly-registers */ #include diff --git a/userland/arch/aarch64/ret.S b/userland/arch/aarch64/ret.S index 906e8a1..ccebca5 100644 --- a/userland/arch/aarch64/ret.S +++ b/userland/arch/aarch64/ret.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-ret-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-ret-instruction */ #include diff --git a/userland/arch/aarch64/str.S b/userland/arch/aarch64/str.S index 6846581..6ba47e5 100644 --- a/userland/arch/aarch64/str.S +++ b/userland/arch/aarch64/str.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-str-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-str-instruction */ #include diff --git a/userland/arch/aarch64/sve.S b/userland/arch/aarch64/sve.S index 9173fe9..52c77ab 100644 --- a/userland/arch/aarch64/sve.S +++ b/userland/arch/aarch64/sve.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-sve */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-sve */ #include diff --git a/userland/arch/aarch64/ubfm.S b/userland/arch/aarch64/ubfm.S index 59cc290..3641ce3 100644 --- a/userland/arch/aarch64/ubfm.S +++ b/userland/arch/aarch64/ubfm.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ubfm-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ubfm-instruction */ #include diff --git a/userland/arch/aarch64/ubfx.S b/userland/arch/aarch64/ubfx.S index 54f9004..7354d0b 100644 --- a/userland/arch/aarch64/ubfx.S +++ b/userland/arch/aarch64/ubfx.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ubfx-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ubfx-instruction */ #include diff --git a/userland/arch/aarch64/udf.S b/userland/arch/aarch64/udf.S index e76cc84..28ac3f7 100644 --- a/userland/arch/aarch64/udf.S +++ b/userland/arch/aarch64/udf.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-udf-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-udf-instruction */ #include diff --git a/userland/arch/aarch64/x31.S b/userland/arch/aarch64/x31.S index e89af76..f98813a 100644 --- a/userland/arch/aarch64/x31.S +++ b/userland/arch/aarch64/x31.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-x31-register */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-x31-register */ #include diff --git a/userland/arch/arm/add.S b/userland/arch/arm/add.S index 0ea1b99..ac84ebd 100644 --- a/userland/arch/arm/add.S +++ b/userland/arch/arm/add.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions */ #include @@ -28,7 +28,7 @@ LKMC_PROLOGUE #if 0 /* But we cannot omit the register if there is a shift when using .syntx unified: - * https://github.com/cirosantilli/linux-kernel-module-cheat#arm-shift-suffixes + * https://cirosantilli.com/linux-kernel-module-cheat#arm-shift-suffixes */ .syntax unified /* Error: garbage following instruction */ diff --git a/userland/arch/arm/address_modes.S b/userland/arch/arm/address_modes.S index 376014d..c2ccbe9 100644 --- a/userland/arch/arm/address_modes.S +++ b/userland/arch/arm/address_modes.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-addressing-modes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-addressing-modes */ #include diff --git a/userland/arch/arm/adr.S b/userland/arch/arm/adr.S index 07af4dd..e5dc2ba 100644 --- a/userland/arch/arm/adr.S +++ b/userland/arch/arm/adr.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-adr-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-adr-instruction */ #include diff --git a/userland/arch/arm/and.S b/userland/arch/arm/and.S index 9903c5d..234bd39 100644 --- a/userland/arch/arm/and.S +++ b/userland/arch/arm/and.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bitwise-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bitwise-instructions */ #include diff --git a/userland/arch/arm/b.S b/userland/arch/arm/b.S index c1b3b31..93e6b9a 100644 --- a/userland/arch/arm/b.S +++ b/userland/arch/arm/b.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-b-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-b-instruction */ #include LKMC_PROLOGUE diff --git a/userland/arch/arm/beq.S b/userland/arch/arm/beq.S index b347d7c..81ca748 100644 --- a/userland/arch/arm/beq.S +++ b/userland/arch/arm/beq.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-beq-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-beq-instruction */ #include diff --git a/userland/arch/arm/bfi.S b/userland/arch/arm/bfi.S index bf39168..a21c697 100644 --- a/userland/arch/arm/bfi.S +++ b/userland/arch/arm/bfi.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bfi-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bfi-instruction */ #include diff --git a/userland/arch/arm/bic.S b/userland/arch/arm/bic.S index 20ae458..d1c4097 100644 --- a/userland/arch/arm/bic.S +++ b/userland/arch/arm/bic.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bic-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bic-instruction */ #include diff --git a/userland/arch/arm/bl.S b/userland/arch/arm/bl.S index e79adb2..5f22e2d 100644 --- a/userland/arch/arm/bl.S +++ b/userland/arch/arm/bl.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bl-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bl-instruction */ #include diff --git a/userland/arch/arm/clz.S b/userland/arch/arm/clz.S index 53a910f..aaf7a57 100644 --- a/userland/arch/arm/clz.S +++ b/userland/arch/arm/clz.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bitwise-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-bitwise-instructions */ #include diff --git a/userland/arch/arm/comments.S b/userland/arch/arm/comments.S index d45a5a8..94dfbce 100644 --- a/userland/arch/arm/comments.S +++ b/userland/arch/arm/comments.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-comments */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-comments */ #include LKMC_PROLOGUE diff --git a/userland/arch/arm/cond.S b/userland/arch/arm/cond.S index 58d0672..d411bad 100644 --- a/userland/arch/arm/cond.S +++ b/userland/arch/arm/cond.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-conditional-execution */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-conditional-execution */ #include diff --git a/userland/arch/arm/dump_regs.c b/userland/arch/arm/dump_regs.c index 85a973f..99cc75d 100644 --- a/userland/arch/arm/dump_regs.c +++ b/userland/arch/arm/dump_regs.c @@ -8,7 +8,7 @@ int main(void) { uint32_t cpsr_m; __asm__ ("mrs %0, cpsr" : "=r" (cpsr) : :); printf("CPSR 0x%" PRIX32 "\n", cpsr); - /* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-exception-levels */ + /* https://cirosantilli.com/linux-kernel-module-cheat#arm-exception-levels */ cpsr_m = cpsr & 0xF; printf("CPSR.M 0x%" PRIX32 "\n", cpsr_m); diff --git a/userland/arch/arm/freestanding/linux/hello.S b/userland/arch/arm/freestanding/linux/hello.S index b215f95..5f0bafe 100644 --- a/userland/arch/arm/freestanding/linux/hello.S +++ b/userland/arch/arm/freestanding/linux/hello.S @@ -1,5 +1,5 @@ /* arm freestanding Linux hello world - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ .syntax unified diff --git a/userland/arch/arm/freestanding/linux/hello_thumb.S b/userland/arch/arm/freestanding/linux/hello_thumb.S index 719aea2..85582a3 100644 --- a/userland/arch/arm/freestanding/linux/hello_thumb.S +++ b/userland/arch/arm/freestanding/linux/hello_thumb.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-thumb-encoding */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-thumb-encoding */ .thumb_func .syntax unified diff --git a/userland/arch/arm/gas_data_sizes.S b/userland/arch/arm/gas_data_sizes.S index 1edcf1d..089ed4b 100644 --- a/userland/arch/arm/gas_data_sizes.S +++ b/userland/arch/arm/gas_data_sizes.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ #include diff --git a/userland/arch/arm/gdb_tests/README.adoc b/userland/arch/arm/gdb_tests/README.adoc index 1bcfcd0..0822158 100644 --- a/userland/arch/arm/gdb_tests/README.adoc +++ b/userland/arch/arm/gdb_tests/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests +https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests diff --git a/userland/arch/arm/immediates.S b/userland/arch/arm/immediates.S index d454a2b..946095a 100644 --- a/userland/arch/arm/immediates.S +++ b/userland/arch/arm/immediates.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-immediates */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-immediates */ #include diff --git a/userland/arch/arm/inc_array.S b/userland/arch/arm/inc_array.S index f84b50d..20ac493 100644 --- a/userland/arch/arm/inc_array.S +++ b/userland/arch/arm/inc_array.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-loop-over-array */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-loop-over-array */ #include diff --git a/userland/arch/arm/inline_asm/add.c b/userland/arch/arm/inline_asm/add.c index d46acf3..1eb6382 100644 --- a/userland/arch/arm/inline_asm/add.c +++ b/userland/arch/arm/inline_asm/add.c @@ -1,6 +1,6 @@ /* 1 + 2 == 3 * - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/arm/inline_asm/freestanding/linux/hello.c b/userland/arch/arm/inline_asm/freestanding/linux/hello.c index d27344a..73b7927 100644 --- a/userland/arch/arm/inline_asm/freestanding/linux/hello.c +++ b/userland/arch/arm/inline_asm/freestanding/linux/hello.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls +/* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls * * arm freestanding C inline assemby Linux hello world. */ diff --git a/userland/arch/arm/inline_asm/inc.c b/userland/arch/arm/inline_asm/inc.c index 9649b13..e5c50a6 100644 --- a/userland/arch/arm/inline_asm/inc.c +++ b/userland/arch/arm/inline_asm/inc.c @@ -1,6 +1,6 @@ /* Increment a variable in inline assembly. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/arm/inline_asm/inc_float.c b/userland/arch/arm/inline_asm/inc_float.c index 8de4630..bc7db8e 100644 --- a/userland/arch/arm/inline_asm/inc_float.c +++ b/userland/arch/arm/inline_asm/inc_float.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-floating-point-arm */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-floating-point-arm */ #include diff --git a/userland/arch/arm/inline_asm/inc_memory.c b/userland/arch/arm/inline_asm/inc_memory.c index 4dd67a1..2689647 100644 --- a/userland/arch/arm/inline_asm/inc_memory.c +++ b/userland/arch/arm/inline_asm/inc_memory.c @@ -14,7 +14,7 @@ * ldr r0, [sp] * .... * - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/arm/inline_asm/inc_memory_global.c b/userland/arch/arm/inline_asm/inc_memory_global.c index 41477e0..327b1ae 100644 --- a/userland/arch/arm/inline_asm/inc_memory_global.c +++ b/userland/arch/arm/inline_asm/inc_memory_global.c @@ -6,7 +6,7 @@ * ldr r0, [r3] * .... * - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/arm/inline_asm/reg_var.c b/userland/arch/arm/inline_asm/reg_var.c index 7629dd5..2b2e636 100644 --- a/userland/arch/arm/inline_asm/reg_var.c +++ b/userland/arch/arm/inline_asm/reg_var.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-register-variables */ #include #include diff --git a/userland/arch/arm/ldmia.S b/userland/arch/arm/ldmia.S index a52cafa..4a0cfb4 100644 --- a/userland/arch/arm/ldmia.S +++ b/userland/arch/arm/ldmia.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ldmia-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ldmia-instruction */ #include diff --git a/userland/arch/arm/ldr_pseudo.S b/userland/arch/arm/ldr_pseudo.S index 592847f..fad388c 100644 --- a/userland/arch/arm/ldr_pseudo.S +++ b/userland/arch/arm/ldr_pseudo.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ldr-pseudo-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ldr-pseudo-instruction */ #include diff --git a/userland/arch/arm/ldrb.S b/userland/arch/arm/ldrb.S index 86ce0e5..5403790 100644 --- a/userland/arch/arm/ldrb.S +++ b/userland/arch/arm/ldrb.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ldrh-and-ldrb-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ldrh-and-ldrb-instructions */ #include diff --git a/userland/arch/arm/ldrh.S b/userland/arch/arm/ldrh.S index 7efca77..9c4ccea 100644 --- a/userland/arch/arm/ldrh.S +++ b/userland/arch/arm/ldrh.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ldrh-and-ldrb-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ldrh-and-ldrb-instructions */ #include diff --git a/userland/arch/arm/linux/c_from_asm.S b/userland/arch/arm/linux/c_from_asm.S index 4c4baa5..96ad4ad 100644 --- a/userland/arch/arm/linux/c_from_asm.S +++ b/userland/arch/arm/linux/c_from_asm.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-calling-convention */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-calling-convention */ #include diff --git a/userland/arch/arm/lkmc_assert_eq_fail.S b/userland/arch/arm/lkmc_assert_eq_fail.S index 63d5ba1..5dccd2f 100644 --- a/userland/arch/arm/lkmc_assert_eq_fail.S +++ b/userland/arch/arm/lkmc_assert_eq_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/arm/lkmc_assert_memcmp_fail.S b/userland/arch/arm/lkmc_assert_memcmp_fail.S index 650a495..8c08ba6 100644 --- a/userland/arch/arm/lkmc_assert_memcmp_fail.S +++ b/userland/arch/arm/lkmc_assert_memcmp_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/arm/mov.S b/userland/arch/arm/mov.S index 65bb716..f899612 100644 --- a/userland/arch/arm/mov.S +++ b/userland/arch/arm/mov.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-mov-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-mov-instruction */ #include diff --git a/userland/arch/arm/movw.S b/userland/arch/arm/movw.S index e653497..91e929f 100644 --- a/userland/arch/arm/movw.S +++ b/userland/arch/arm/movw.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-movw-and-movt-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-movw-and-movt-instructions */ #include diff --git a/userland/arch/arm/mul.S b/userland/arch/arm/mul.S index f46ee04..163372c 100644 --- a/userland/arch/arm/mul.S +++ b/userland/arch/arm/mul.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions * * Multiplication. */ diff --git a/userland/arch/arm/nop.S b/userland/arch/arm/nop.S index 2d59bd1..619e323 100644 --- a/userland/arch/arm/nop.S +++ b/userland/arch/arm/nop.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-nop-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-nop-instruction */ #include diff --git a/userland/arch/arm/push.S b/userland/arch/arm/push.S index 9e9acee..6ef1ab5 100644 --- a/userland/arch/arm/push.S +++ b/userland/arch/arm/push.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-ldmia-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-ldmia-instruction */ #include diff --git a/userland/arch/arm/rbit.S b/userland/arch/arm/rbit.S index f57bd45..9f80c87 100644 --- a/userland/arch/arm/rbit.S +++ b/userland/arch/arm/rbit.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions * * Reverse bit order. */ diff --git a/userland/arch/arm/registers.S b/userland/arch/arm/registers.S index 1d7aa6f..7376303 100644 --- a/userland/arch/arm/registers.S +++ b/userland/arch/arm/registers.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#assembly-registers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#assembly-registers */ #include diff --git a/userland/arch/arm/rev.S b/userland/arch/arm/rev.S index 2ffa3b1..89ef370 100644 --- a/userland/arch/arm/rev.S +++ b/userland/arch/arm/rev.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions * * Reverse byte order. */ diff --git a/userland/arch/arm/s_suffix.S b/userland/arch/arm/s_suffix.S index a527c90..536c060 100644 --- a/userland/arch/arm/s_suffix.S +++ b/userland/arch/arm/s_suffix.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-s-suffix */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-s-suffix */ #include diff --git a/userland/arch/arm/shift.S b/userland/arch/arm/shift.S index 163d6ed..710f7d2 100644 --- a/userland/arch/arm/shift.S +++ b/userland/arch/arm/shift.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-shift-suffixes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-shift-suffixes */ #include diff --git a/userland/arch/arm/str.S b/userland/arch/arm/str.S index 6161552..eae3902 100644 --- a/userland/arch/arm/str.S +++ b/userland/arch/arm/str.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-str-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-str-instruction */ #include @@ -44,7 +44,7 @@ LKMC_PROLOGUE * but it will always segfault under Linux because the text segment is read-only. * This is however useful in baremetal programming. * This construct is not possible in ARMv8 for str: - * https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-str-instruction + * https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch64-str-instruction */ str r1, .Lvar_in_same_section .Lvar_in_same_section: diff --git a/userland/arch/arm/sub.S b/userland/arch/arm/sub.S index 2f945a4..2b6f10b 100644 --- a/userland/arch/arm/sub.S +++ b/userland/arch/arm/sub.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions * * Subtraction. */ diff --git a/userland/arch/arm/thumb.S b/userland/arch/arm/thumb.S index 026c874..4ad4b17 100644 --- a/userland/arch/arm/thumb.S +++ b/userland/arch/arm/thumb.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-thumb-encoding */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-thumb-encoding */ #include diff --git a/userland/arch/arm/tst.S b/userland/arch/arm/tst.S index 7cea827..c1b6f64 100644 --- a/userland/arch/arm/tst.S +++ b/userland/arch/arm/tst.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-data-processing-instructions * * Test. Same as ands, but don't store the result, just update flags. */ diff --git a/userland/arch/arm/udf.S b/userland/arch/arm/udf.S index 6707177..d5f1cd9 100644 --- a/userland/arch/arm/udf.S +++ b/userland/arch/arm/udf.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-udf-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-udf-instruction */ #include diff --git a/userland/arch/arm/vadd_scalar.S b/userland/arch/arm/vadd_scalar.S index 63198d1..b214ec3 100644 --- a/userland/arch/arm/vadd_scalar.S +++ b/userland/arch/arm/vadd_scalar.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-vadd-instruction +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-vadd-instruction * Adapted from: https://mindplusplus.wordpress.com/2013/06/27/arm-vfp-vector-programming-part-2-examples/ */ #include diff --git a/userland/arch/arm/vadd_vector.S b/userland/arch/arm/vadd_vector.S index e103f73..d332db7 100644 --- a/userland/arch/arm/vadd_vector.S +++ b/userland/arch/arm/vadd_vector.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-vadd-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-vadd-instruction */ #include diff --git a/userland/arch/arm/vcvt.S b/userland/arch/arm/vcvt.S index e47c998..7fe735b 100644 --- a/userland/arch/arm/vcvt.S +++ b/userland/arch/arm/vcvt.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-vcvt-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-vcvt-instruction */ #include diff --git a/userland/arch/arm/vcvta.S b/userland/arch/arm/vcvta.S index 1f7d890..ec64c4f 100644 --- a/userland/arch/arm/vcvta.S +++ b/userland/arch/arm/vcvta.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch32-vcvta-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#armv8-aarch32-vcvta-instruction */ #include diff --git a/userland/arch/arm/vcvtr.S b/userland/arch/arm/vcvtr.S index 3e00fe6..25601d7 100644 --- a/userland/arch/arm/vcvtr.S +++ b/userland/arch/arm/vcvtr.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-vcvtr-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#arm-vcvtr-instruction */ #include diff --git a/userland/arch/empty.S b/userland/arch/empty.S index 4a989d7..58ea514 100644 --- a/userland/arch/empty.S +++ b/userland/arch/empty.S @@ -1,5 +1,5 @@ /* Please don't do anything, including crashing. - * https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/lkmc_assert_fail.S b/userland/arch/lkmc_assert_fail.S index 925527f..2f53813 100644 --- a/userland/arch/lkmc_assert_fail.S +++ b/userland/arch/lkmc_assert_fail.S @@ -1,5 +1,5 @@ /* See what happens on test failure with LKMC_ASSERT_FAIL. - * https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly + * https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/x86_64/adc.S b/userland/arch/x86_64/adc.S index 02fcc13..bca3f84 100644 --- a/userland/arch/x86_64/adc.S +++ b/userland/arch/x86_64/adc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Add with Carry. Like add, but if the carry flag is set, add 1 to the addition. * diff --git a/userland/arch/x86_64/add.S b/userland/arch/x86_64/add.S index 9e08abf..86ba126 100644 --- a/userland/arch/x86_64/add.S +++ b/userland/arch/x86_64/add.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/x86_64/addpd.S b/userland/arch/x86_64/addpd.S index 2698e99..e933177 100644 --- a/userland/arch/x86_64/addpd.S +++ b/userland/arch/x86_64/addpd.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions * * Add a few floating point numbers in one go (P == packaged). */ diff --git a/userland/arch/x86_64/address_modes.S b/userland/arch/x86_64/address_modes.S index 8556349..f90ae58 100644 --- a/userland/arch/x86_64/address_modes.S +++ b/userland/arch/x86_64/address_modes.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-addressing-modes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-addressing-modes */ #include diff --git a/userland/arch/x86_64/and.S b/userland/arch/x86_64/and.S index 732a3f6..118a2c3 100644 --- a/userland/arch/x86_64/and.S +++ b/userland/arch/x86_64/and.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-logical-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-logical-instructions */ #include diff --git a/userland/arch/x86_64/binutils_hack.c b/userland/arch/x86_64/binutils_hack.c index 1432167..2ffab97 100644 --- a/userland/arch/x86_64/binutils_hack.c +++ b/userland/arch/x86_64/binutils_hack.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-binutils-hack */ +/* https://cirosantilli.com/linux-kernel-module-cheat#your-first-binutils-hack */ #include #include diff --git a/userland/arch/x86_64/binutils_nohack.c b/userland/arch/x86_64/binutils_nohack.c index 892d20a..1abfa36 100644 --- a/userland/arch/x86_64/binutils_nohack.c +++ b/userland/arch/x86_64/binutils_nohack.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-binutils-hack */ +/* https://cirosantilli.com/linux-kernel-module-cheat#your-first-binutils-hack */ #include #include diff --git a/userland/arch/x86_64/bswap.S b/userland/arch/x86_64/bswap.S index 8695978..ac38acc 100644 --- a/userland/arch/x86_64/bswap.S +++ b/userland/arch/x86_64/bswap.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-data-transfer-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions */ #include diff --git a/userland/arch/x86_64/bt.S b/userland/arch/x86_64/bt.S index b2a582f..e982e77 100644 --- a/userland/arch/x86_64/bt.S +++ b/userland/arch/x86_64/bt.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/btc.S b/userland/arch/x86_64/btc.S index 3e7fa68..6a832b7 100644 --- a/userland/arch/x86_64/btc.S +++ b/userland/arch/x86_64/btc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/btr.S b/userland/arch/x86_64/btr.S index 48ebe56..0d6186d 100644 --- a/userland/arch/x86_64/btr.S +++ b/userland/arch/x86_64/btr.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/char_literals.S b/userland/arch/x86_64/char_literals.S index b2b8197..b079a9e 100644 --- a/userland/arch/x86_64/char_literals.S +++ b/userland/arch/x86_64/char_literals.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler-char-literals */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-char-literals */ #include diff --git a/userland/arch/x86_64/cltq.S b/userland/arch/x86_64/cltq.S index 8cb2061..7144752 100644 --- a/userland/arch/x86_64/cltq.S +++ b/userland/arch/x86_64/cltq.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cqto-and-cltq-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-cqto-and-cltq-instructions */ #include diff --git a/userland/arch/x86_64/cmovcc.S b/userland/arch/x86_64/cmovcc.S index ed6d31a..20eb068 100644 --- a/userland/arch/x86_64/cmovcc.S +++ b/userland/arch/x86_64/cmovcc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cmovcc-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-cmovcc-instructions */ #include diff --git a/userland/arch/x86_64/cmp.S b/userland/arch/x86_64/cmp.S index 8cf1b8b..1cc32b5 100644 --- a/userland/arch/x86_64/cmp.S +++ b/userland/arch/x86_64/cmp.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly * * Compare two numbers and set the flags register. * diff --git a/userland/arch/x86_64/cmps.S b/userland/arch/x86_64/cmps.S index 91d656d..e298eba 100644 --- a/userland/arch/x86_64/cmps.S +++ b/userland/arch/x86_64/cmps.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-string-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-string-instructions */ #include diff --git a/userland/arch/x86_64/cmpxchg.S b/userland/arch/x86_64/cmpxchg.S index 3735273..c13af7f 100644 --- a/userland/arch/x86_64/cmpxchg.S +++ b/userland/arch/x86_64/cmpxchg.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cmpxchg-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-cmpxchg-instruction */ #include diff --git a/userland/arch/x86_64/cpuid.S b/userland/arch/x86_64/cpuid.S index 1b3a134..da4a198 100644 --- a/userland/arch/x86_64/cpuid.S +++ b/userland/arch/x86_64/cpuid.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cpuid-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-cpuid-instruction */ #include diff --git a/userland/arch/x86_64/cqto.S b/userland/arch/x86_64/cqto.S index 86c16ee..461c93b 100644 --- a/userland/arch/x86_64/cqto.S +++ b/userland/arch/x86_64/cqto.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cqto-and-cltq-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-cqto-and-cltq-instructions */ #include diff --git a/userland/arch/x86_64/cvttss2si.S b/userland/arch/x86_64/cvttss2si.S index 0b95a5f..c5f1cf7 100644 --- a/userland/arch/x86_64/cvttss2si.S +++ b/userland/arch/x86_64/cvttss2si.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/dec.S b/userland/arch/x86_64/dec.S index 40eed85..20a8b8d 100644 --- a/userland/arch/x86_64/dec.S +++ b/userland/arch/x86_64/dec.S @@ -1,6 +1,6 @@ /* Decrement: i--. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions + * https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/div.S b/userland/arch/x86_64/div.S index 2d980b2..c772584 100644 --- a/userland/arch/x86_64/div.S +++ b/userland/arch/x86_64/div.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Unsigned integer division, interface similar to MUL: * diff --git a/userland/arch/x86_64/div_overflow.S b/userland/arch/x86_64/div_overflow.S index 44ffb30..5664e38 100644 --- a/userland/arch/x86_64/div_overflow.S +++ b/userland/arch/x86_64/div_overflow.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * If the result of div does not fit into the output register rax, then we get SIGFPE. */ diff --git a/userland/arch/x86_64/div_zero.S b/userland/arch/x86_64/div_zero.S index 108ca5d..eaf33f1 100644 --- a/userland/arch/x86_64/div_zero.S +++ b/userland/arch/x86_64/div_zero.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * SIGFPE :-) * diff --git a/userland/arch/x86_64/enter.S b/userland/arch/x86_64/enter.S index fc69358..b68e397 100644 --- a/userland/arch/x86_64/enter.S +++ b/userland/arch/x86_64/enter.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-enter-and-leave-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-enter-and-leave-instructions */ #include diff --git a/userland/arch/x86_64/fabs.S b/userland/arch/x86_64/fabs.S index 5e0b339..a13e437 100644 --- a/userland/arch/x86_64/fabs.S +++ b/userland/arch/x86_64/fabs.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fadd.S b/userland/arch/x86_64/fadd.S index 8daddc2..2e53218 100644 --- a/userland/arch/x86_64/fadd.S +++ b/userland/arch/x86_64/fadd.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/faddp.S b/userland/arch/x86_64/faddp.S index 7c127a7..ca2cb4f 100644 --- a/userland/arch/x86_64/faddp.S +++ b/userland/arch/x86_64/faddp.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fchs.S b/userland/arch/x86_64/fchs.S index 77f0219..fc4a49d 100644 --- a/userland/arch/x86_64/fchs.S +++ b/userland/arch/x86_64/fchs.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fild.S b/userland/arch/x86_64/fild.S index 655a4ac..cf35464 100644 --- a/userland/arch/x86_64/fild.S +++ b/userland/arch/x86_64/fild.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fld1.S b/userland/arch/x86_64/fld1.S index 0c69cc0..a973812 100644 --- a/userland/arch/x86_64/fld1.S +++ b/userland/arch/x86_64/fld1.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fldl_literal.S b/userland/arch/x86_64/fldl_literal.S index 4037acb..8fec8b0 100644 --- a/userland/arch/x86_64/fldl_literal.S +++ b/userland/arch/x86_64/fldl_literal.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fldz.S b/userland/arch/x86_64/fldz.S index 75e63fc..72c4950 100644 --- a/userland/arch/x86_64/fldz.S +++ b/userland/arch/x86_64/fldz.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/freestanding/linux/hello.S b/userland/arch/x86_64/freestanding/linux/hello.S index 9c7563c..042cfe5 100644 --- a/userland/arch/x86_64/freestanding/linux/hello.S +++ b/userland/arch/x86_64/freestanding/linux/hello.S @@ -1,5 +1,5 @@ /* x86_64 freestanding Linux hello world - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ .text diff --git a/userland/arch/x86_64/freestanding/linux/int_system_call.S b/userland/arch/x86_64/freestanding/linux/int_system_call.S index e728341..b1ae433 100644 --- a/userland/arch/x86_64/freestanding/linux/int_system_call.S +++ b/userland/arch/x86_64/freestanding/linux/int_system_call.S @@ -1,4 +1,4 @@ - /* https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + /* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls * * int $0x80 sycalls are still supported by x86_64 for some kind of backwards compatibility, * (TODO so when x86_64 started it didn't have SYSCALL?) althoug you should prefre diff --git a/userland/arch/x86_64/fscale.S b/userland/arch/x86_64/fscale.S index 96f75f7..ed0df0d 100644 --- a/userland/arch/x86_64/fscale.S +++ b/userland/arch/x86_64/fscale.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fsqrt.S b/userland/arch/x86_64/fsqrt.S index 5d8504a..78760e4 100644 --- a/userland/arch/x86_64/fsqrt.S +++ b/userland/arch/x86_64/fsqrt.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/fxch.S b/userland/arch/x86_64/fxch.S index 389bcf0..802055f 100644 --- a/userland/arch/x86_64/fxch.S +++ b/userland/arch/x86_64/fxch.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ #include diff --git a/userland/arch/x86_64/gas_data_sizes.S b/userland/arch/x86_64/gas_data_sizes.S index d3ed256..4a87813 100644 --- a/userland/arch/x86_64/gas_data_sizes.S +++ b/userland/arch/x86_64/gas_data_sizes.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler data sizes */ #include diff --git a/userland/arch/x86_64/gdb_tests/README.adoc b/userland/arch/x86_64/gdb_tests/README.adoc index 1bcfcd0..0822158 100644 --- a/userland/arch/x86_64/gdb_tests/README.adoc +++ b/userland/arch/x86_64/gdb_tests/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests +https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests diff --git a/userland/arch/x86_64/idiv.S b/userland/arch/x86_64/idiv.S index 4d6b7b3..ea55389 100644 --- a/userland/arch/x86_64/idiv.S +++ b/userland/arch/x86_64/idiv.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Signed integer division. */ diff --git a/userland/arch/x86_64/ieee754.S b/userland/arch/x86_64/ieee754.S index 8b8bbd0..fbe79ec 100644 --- a/userland/arch/x86_64/ieee754.S +++ b/userland/arch/x86_64/ieee754.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ieee-754 */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ieee-754 */ #include #include @@ -26,7 +26,7 @@ LKMC_PROLOGUE /* TODO: GAS nan is a different NaN: 0x7FFFFFFF */ /*LKMC_ASSERT_EQ(double_nan, double_ref_nan)*/ - /* x87 80-bit FPU: https://github.com/cirosantilli/linux-kernel-module-cheat#x86-x87-fpu-instructions */ + /* x87 80-bit FPU: https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */ /* 1.5 + 2.5 == 4.0. */ fldl double_1_5 diff --git a/userland/arch/x86_64/imul.S b/userland/arch/x86_64/imul.S index 9c30694..8ce20ae 100644 --- a/userland/arch/x86_64/imul.S +++ b/userland/arch/x86_64/imul.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Signed multiply. * diff --git a/userland/arch/x86_64/inc.S b/userland/arch/x86_64/inc.S index 514dd37..edb269f 100644 --- a/userland/arch/x86_64/inc.S +++ b/userland/arch/x86_64/inc.S @@ -1,6 +1,6 @@ /* Increment: i++. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions + * https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/inline_asm/add.c b/userland/arch/x86_64/inline_asm/add.c index 2d3e461..1208834 100644 --- a/userland/arch/x86_64/inline_asm/add.c +++ b/userland/arch/x86_64/inline_asm/add.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include #include diff --git a/userland/arch/x86_64/inline_asm/freestanding/linux/hello.c b/userland/arch/x86_64/inline_asm/freestanding/linux/hello.c index a5ed92f..553c07a 100644 --- a/userland/arch/x86_64/inline_asm/freestanding/linux/hello.c +++ b/userland/arch/x86_64/inline_asm/freestanding/linux/hello.c @@ -1,5 +1,5 @@ /* x86_64 freestanding C inline assemby Linux hello world - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ #define _XOPEN_SOURCE 700 diff --git a/userland/arch/x86_64/inline_asm/freestanding/linux/hello_regvar.c b/userland/arch/x86_64/inline_asm/freestanding/linux/hello_regvar.c index 8f98c54..68cc548 100644 --- a/userland/arch/x86_64/inline_asm/freestanding/linux/hello_regvar.c +++ b/userland/arch/x86_64/inline_asm/freestanding/linux/hello_regvar.c @@ -1,5 +1,5 @@ /* Same as hello.c, but with explicit register variables, see: - * https://github.com/cirosantilli/linux-kernel-module-cheat#linux-system-calls + * https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */ #define _XOPEN_SOURCE 700 diff --git a/userland/arch/x86_64/inline_asm/inc.c b/userland/arch/x86_64/inline_asm/inc.c index 5106398..1714a10 100644 --- a/userland/arch/x86_64/inline_asm/inc.c +++ b/userland/arch/x86_64/inline_asm/inc.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include #include diff --git a/userland/arch/x86_64/inline_asm/scratch.c b/userland/arch/x86_64/inline_asm/scratch.c index 7d91ae2..22839d5 100644 --- a/userland/arch/x86_64/inline_asm/scratch.c +++ b/userland/arch/x86_64/inline_asm/scratch.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-scratch-registers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-scratch-registers */ #include #include diff --git a/userland/arch/x86_64/inline_asm/scratch_hardcode.c b/userland/arch/x86_64/inline_asm/scratch_hardcode.c index 2cd9eac..3ed984e 100644 --- a/userland/arch/x86_64/inline_asm/scratch_hardcode.c +++ b/userland/arch/x86_64/inline_asm/scratch_hardcode.c @@ -1,5 +1,5 @@ /* This is a worse version of scratch.c with hardcoded scratch. - * https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly-scratch-registers + * https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly-scratch-registers */ #include diff --git a/userland/arch/x86_64/inline_asm/sqrt_x87.c b/userland/arch/x86_64/inline_asm/sqrt_x87.c index b37aa06..3cf310a 100644 --- a/userland/arch/x86_64/inline_asm/sqrt_x87.c +++ b/userland/arch/x86_64/inline_asm/sqrt_x87.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-inline-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-inline-assembly */ #include diff --git a/userland/arch/x86_64/intrinsics/README.adoc b/userland/arch/x86_64/intrinsics/README.adoc index 0451faa..8d12f57 100644 --- a/userland/arch/x86_64/intrinsics/README.adoc +++ b/userland/arch/x86_64/intrinsics/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-intrinsics +https://cirosantilli.com/linux-kernel-module-cheat#gcc-intrinsics diff --git a/userland/arch/x86_64/intrinsics/addpd.c b/userland/arch/x86_64/intrinsics/addpd.c index bc6eb82..b1a1e55 100644 --- a/userland/arch/x86_64/intrinsics/addpd.c +++ b/userland/arch/x86_64/intrinsics/addpd.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-intrinsics */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-intrinsics */ #include #include diff --git a/userland/arch/x86_64/intrinsics/paddq.c b/userland/arch/x86_64/intrinsics/paddq.c index 505238d..00b1e72 100644 --- a/userland/arch/x86_64/intrinsics/paddq.c +++ b/userland/arch/x86_64/intrinsics/paddq.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gcc-intrinsics */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gcc-intrinsics */ #include #include diff --git a/userland/arch/x86_64/intrinsics/rdtsc.c b/userland/arch/x86_64/intrinsics/rdtsc.c index 153e5be..48b996e 100644 --- a/userland/arch/x86_64/intrinsics/rdtsc.c +++ b/userland/arch/x86_64/intrinsics/rdtsc.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-rdtsc-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-rdtsc-instruction */ #include #include diff --git a/userland/arch/x86_64/intrinsics/rdtscp.c b/userland/arch/x86_64/intrinsics/rdtscp.c index 0925028..d0151ac 100644 --- a/userland/arch/x86_64/intrinsics/rdtscp.c +++ b/userland/arch/x86_64/intrinsics/rdtscp.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-rdtscp-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-rdtscp-instruction */ #include #include diff --git a/userland/arch/x86_64/jcc.S b/userland/arch/x86_64/jcc.S index 706c71e..a83ce66 100644 --- a/userland/arch/x86_64/jcc.S +++ b/userland/arch/x86_64/jcc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-jcc-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-jcc-instructions */ #include diff --git a/userland/arch/x86_64/jmp.S b/userland/arch/x86_64/jmp.S index 8e08a48..137ed2d 100644 --- a/userland/arch/x86_64/jmp.S +++ b/userland/arch/x86_64/jmp.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-control-transfer-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-control-transfer-instructions * * Unconditional branch, address relative to the current address. */ diff --git a/userland/arch/x86_64/jmp_indirect.S b/userland/arch/x86_64/jmp_indirect.S index f90964d..b525467 100644 --- a/userland/arch/x86_64/jmp_indirect.S +++ b/userland/arch/x86_64/jmp_indirect.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-control-transfer-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-control-transfer-instructions * * Unconditional branch to an absolute address stored in memory on in a register. */ diff --git a/userland/arch/x86_64/lea.S b/userland/arch/x86_64/lea.S index b18bb42..c9cc4fc 100644 --- a/userland/arch/x86_64/lea.S +++ b/userland/arch/x86_64/lea.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-data-transfer-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions * * Load Effective Address. * diff --git a/userland/arch/x86_64/lkmc_assert_eq_fail.S b/userland/arch/x86_64/lkmc_assert_eq_fail.S index c6fb600..5fe2a6a 100644 --- a/userland/arch/x86_64/lkmc_assert_eq_fail.S +++ b/userland/arch/x86_64/lkmc_assert_eq_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/x86_64/lkmc_assert_memcmp_fail.S b/userland/arch/x86_64/lkmc_assert_memcmp_fail.S index 613936d..3b869d7 100644 --- a/userland/arch/x86_64/lkmc_assert_memcmp_fail.S +++ b/userland/arch/x86_64/lkmc_assert_memcmp_fail.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/x86_64/lods.S b/userland/arch/x86_64/lods.S index d2b12f0..b6c9a0d 100644 --- a/userland/arch/x86_64/lods.S +++ b/userland/arch/x86_64/lods.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-string-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-string-instructions */ #include diff --git a/userland/arch/x86_64/loop.S b/userland/arch/x86_64/loop.S index 8978817..fdbdb01 100644 --- a/userland/arch/x86_64/loop.S +++ b/userland/arch/x86_64/loop.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-loop-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-loop-instruction */ #include diff --git a/userland/arch/x86_64/mov.S b/userland/arch/x86_64/mov.S index f25b143..3c4d98a 100644 --- a/userland/arch/x86_64/mov.S +++ b/userland/arch/x86_64/mov.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */ #include diff --git a/userland/arch/x86_64/movaps.S b/userland/arch/x86_64/movaps.S index 92cd0d6..83bc4ab 100644 --- a/userland/arch/x86_64/movaps.S +++ b/userland/arch/x86_64/movaps.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/movs.S b/userland/arch/x86_64/movs.S index 3b7647b..3d70fb9 100644 --- a/userland/arch/x86_64/movs.S +++ b/userland/arch/x86_64/movs.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-string-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-string-instructions */ #include diff --git a/userland/arch/x86_64/movss.S b/userland/arch/x86_64/movss.S index 9c02c4e..66ff772 100644 --- a/userland/arch/x86_64/movss.S +++ b/userland/arch/x86_64/movss.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-data-transfer-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-sse-data-transfer-instructions */ #include diff --git a/userland/arch/x86_64/movsx.S b/userland/arch/x86_64/movsx.S index ad07302..328b77d 100644 --- a/userland/arch/x86_64/movsx.S +++ b/userland/arch/x86_64/movsx.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-data-transfer-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions * * LIke MOVZX but sign extend. */ diff --git a/userland/arch/x86_64/movups.S b/userland/arch/x86_64/movups.S index 850dd34..ce17905 100644 --- a/userland/arch/x86_64/movups.S +++ b/userland/arch/x86_64/movups.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-sse-packed-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/movzx.S b/userland/arch/x86_64/movzx.S index 1a10ddc..e836e2d 100644 --- a/userland/arch/x86_64/movzx.S +++ b/userland/arch/x86_64/movzx.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-data-transfer-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions * * mov and zero extend * diff --git a/userland/arch/x86_64/mul.S b/userland/arch/x86_64/mul.S index 9b343c3..7bc2dd3 100644 --- a/userland/arch/x86_64/mul.S +++ b/userland/arch/x86_64/mul.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Unsigned multiply. * diff --git a/userland/arch/x86_64/neg.S b/userland/arch/x86_64/neg.S index 8a7529b..0009c2e 100644 --- a/userland/arch/x86_64/neg.S +++ b/userland/arch/x86_64/neg.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Negate: i *= -1. */ diff --git a/userland/arch/x86_64/nop.S b/userland/arch/x86_64/nop.S index c0da11d..affa6f8 100644 --- a/userland/arch/x86_64/nop.S +++ b/userland/arch/x86_64/nop.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#nop-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#nop-instructions */ #include diff --git a/userland/arch/x86_64/not.S b/userland/arch/x86_64/not.S index 036bc90..1d132be 100644 --- a/userland/arch/x86_64/not.S +++ b/userland/arch/x86_64/not.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-logical-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-logical-instructions */ #include diff --git a/userland/arch/x86_64/or.S b/userland/arch/x86_64/or.S index a38d7c6..c610ed7 100644 --- a/userland/arch/x86_64/or.S +++ b/userland/arch/x86_64/or.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-logical-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-logical-instructions */ #include diff --git a/userland/arch/x86_64/paddq.S b/userland/arch/x86_64/paddq.S index e1c1dee..453b587 100644 --- a/userland/arch/x86_64/paddq.S +++ b/userland/arch/x86_64/paddq.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-paddq-instruction +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-paddq-instruction * * Add several integers in one go. * diff --git a/userland/arch/x86_64/popcnt.S b/userland/arch/x86_64/popcnt.S index dc0da8a..10003d4 100644 --- a/userland/arch/x86_64/popcnt.S +++ b/userland/arch/x86_64/popcnt.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/push.S b/userland/arch/x86_64/push.S index cde7acb..5b44ed0 100644 --- a/userland/arch/x86_64/push.S +++ b/userland/arch/x86_64/push.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-push-and-pop-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-push-and-pop-instructions */ #include diff --git a/userland/arch/x86_64/pushf.S b/userland/arch/x86_64/pushf.S index a8d5145..4aeb942 100644 --- a/userland/arch/x86_64/pushf.S +++ b/userland/arch/x86_64/pushf.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-data-transfer-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions */ #include diff --git a/userland/arch/x86_64/rcl.S b/userland/arch/x86_64/rcl.S index 21224d1..0dc1728 100644 --- a/userland/arch/x86_64/rcl.S +++ b/userland/arch/x86_64/rcl.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ #include @@ -9,7 +9,7 @@ LKMC_PROLOGUE rcl $1, %r12b /* We'll have to save and restore flags across our asserts! * 2x PUSHF to maintain 16-bit stack alignment. - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86_64-calling-convention + * https://cirosantilli.com/linux-kernel-module-cheat#x86_64-calling-convention */ pushf pushf diff --git a/userland/arch/x86_64/rdrand.S b/userland/arch/x86_64/rdrand.S index b4f068b..0539373 100644 --- a/userland/arch/x86_64/rdrand.S +++ b/userland/arch/x86_64/rdrand.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-random-number-generator-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-random-number-generator-instructions */ #include diff --git a/userland/arch/x86_64/rdtsc.S b/userland/arch/x86_64/rdtsc.S index 42a453b..a89738f 100644 --- a/userland/arch/x86_64/rdtsc.S +++ b/userland/arch/x86_64/rdtsc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-rdtsc-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-rdtsc-instruction */ #include diff --git a/userland/arch/x86_64/rdtscp.S b/userland/arch/x86_64/rdtscp.S index a33b277..fd9979b 100644 --- a/userland/arch/x86_64/rdtscp.S +++ b/userland/arch/x86_64/rdtscp.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-rdtscp-instruction */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-rdtscp-instruction */ #include diff --git a/userland/arch/x86_64/registers.S b/userland/arch/x86_64/registers.S index 258a602..46d6f71 100644 --- a/userland/arch/x86_64/registers.S +++ b/userland/arch/x86_64/registers.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-registers */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-registers */ #include diff --git a/userland/arch/x86_64/rep.S b/userland/arch/x86_64/rep.S index 5bb9e18..4239555 100644 --- a/userland/arch/x86_64/rep.S +++ b/userland/arch/x86_64/rep.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-rep-prefix */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-rep-prefix */ #include diff --git a/userland/arch/x86_64/ring0.c b/userland/arch/x86_64/ring0.c index 821d953..7f1b75a 100644 --- a/userland/arch/x86_64/ring0.c +++ b/userland/arch/x86_64/ring0.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ring0 */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ring0 */ #include #include diff --git a/userland/arch/x86_64/rol.S b/userland/arch/x86_64/rol.S index cebe4ac..6f20293 100644 --- a/userland/arch/x86_64/rol.S +++ b/userland/arch/x86_64/rol.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ #include diff --git a/userland/arch/x86_64/sal.S b/userland/arch/x86_64/sal.S index 5943a21..6325df7 100644 --- a/userland/arch/x86_64/sal.S +++ b/userland/arch/x86_64/sal.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ #include diff --git a/userland/arch/x86_64/sbb.S b/userland/arch/x86_64/sbb.S index d993348..1e1d264 100644 --- a/userland/arch/x86_64/sbb.S +++ b/userland/arch/x86_64/sbb.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions * * Subtract with Borrow. Like ADC is for ADD, but for subtraction. */ diff --git a/userland/arch/x86_64/scas.S b/userland/arch/x86_64/scas.S index 69b268a..0490d0e 100644 --- a/userland/arch/x86_64/scas.S +++ b/userland/arch/x86_64/scas.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-string-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-string-instructions */ #include diff --git a/userland/arch/x86_64/setcc.S b/userland/arch/x86_64/setcc.S index 83bbc6c..c09f6d4 100644 --- a/userland/arch/x86_64/setcc.S +++ b/userland/arch/x86_64/setcc.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/shl.S b/userland/arch/x86_64/shl.S index bcd0063..ac487e1 100644 --- a/userland/arch/x86_64/shl.S +++ b/userland/arch/x86_64/shl.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-shift-and-rotate-instructions */ #include diff --git a/userland/arch/x86_64/stos.S b/userland/arch/x86_64/stos.S index 03aa556..7320743 100644 --- a/userland/arch/x86_64/stos.S +++ b/userland/arch/x86_64/stos.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-string-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-string-instructions */ #include diff --git a/userland/arch/x86_64/sub.S b/userland/arch/x86_64/sub.S index a62b816..5dc9e40 100644 --- a/userland/arch/x86_64/sub.S +++ b/userland/arch/x86_64/sub.S @@ -1,6 +1,6 @@ /* Subtraction. * - * https://github.com/cirosantilli/linux-kernel-module-cheat#x86-binary-arithmetic-instructions + * https://cirosantilli.com/linux-kernel-module-cheat#x86-binary-arithmetic-instructions */ #include diff --git a/userland/arch/x86_64/test.S b/userland/arch/x86_64/test.S index 8a61592..ea8b9dc 100644 --- a/userland/arch/x86_64/test.S +++ b/userland/arch/x86_64/test.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-bit-and-byte-instructions */ #include diff --git a/userland/arch/x86_64/vfmadd132pd.S b/userland/arch/x86_64/vfmadd132pd.S index a2dbc79..370a3bc 100644 --- a/userland/arch/x86_64/vfmadd132pd.S +++ b/userland/arch/x86_64/vfmadd132pd.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-fma */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-fma */ #include diff --git a/userland/arch/x86_64/xadd.S b/userland/arch/x86_64/xadd.S index 1227eac..e908219 100644 --- a/userland/arch/x86_64/xadd.S +++ b/userland/arch/x86_64/xadd.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-exchange-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-exchange-instructions */ #include diff --git a/userland/arch/x86_64/xchg.S b/userland/arch/x86_64/xchg.S index a1b753f..38c4311 100644 --- a/userland/arch/x86_64/xchg.S +++ b/userland/arch/x86_64/xchg.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-exchange-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-exchange-instructions */ #include diff --git a/userland/arch/x86_64/xor.S b/userland/arch/x86_64/xor.S index 5855b2f..f81687a 100644 --- a/userland/arch/x86_64/xor.S +++ b/userland/arch/x86_64/xor.S @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-logical-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#x86-logical-instructions */ #include diff --git a/userland/c/README.adoc b/userland/c/README.adoc index 021699d..e4c26fa 100644 --- a/userland/c/README.adoc +++ b/userland/c/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#c +https://cirosantilli.com/linux-kernel-module-cheat#c diff --git a/userland/c/exit0.c b/userland/c/exit0.c index 736e9d3..0e30ebc 100644 --- a/userland/c/exit0.c +++ b/userland/c/exit0.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ +/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ #include diff --git a/userland/c/exit1.c b/userland/c/exit1.c index dc8ceb6..74350e9 100644 --- a/userland/c/exit1.c +++ b/userland/c/exit1.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ +/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ #include diff --git a/userland/c/exit2.c b/userland/c/exit2.c index 04348fc..2704a30 100644 --- a/userland/c/exit2.c +++ b/userland/c/exit2.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ +/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ #include diff --git a/userland/c/false.c b/userland/c/false.c index 7fe85ec..d6e5340 100644 --- a/userland/c/false.c +++ b/userland/c/false.c @@ -2,7 +2,7 @@ * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/false.html * * Can be uesd to test that emulators forward the exit status properly. - * https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-syscall-emulation-exit-status + * https://cirosantilli.com/linux-kernel-module-cheat#gem5-syscall-emulation-exit-status */ #include diff --git a/userland/c/file_write_read.c b/userland/c/file_write_read.c index 63b8c16..6c1ae4e 100644 --- a/userland/c/file_write_read.c +++ b/userland/c/file_write_read.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#c */ +/* https://cirosantilli.com/linux-kernel-module-cheat#c */ #include diff --git a/userland/c/gcc_hack.c b/userland/c/gcc_hack.c index c89e41e..b39a5d4 100644 --- a/userland/c/gcc_hack.c +++ b/userland/c/gcc_hack.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-gcc-hack */ +/* https://cirosantilli.com/linux-kernel-module-cheat#your-first-gcc-hack */ #include #include diff --git a/userland/c/infinite_loop.c b/userland/c/infinite_loop.c index ad4f546..90fb5c8 100644 --- a/userland/c/infinite_loop.c +++ b/userland/c/infinite_loop.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#c +/* https://cirosantilli.com/linux-kernel-module-cheat#c * * Loop infinitely. Print an integer whenever a period is reached: * diff --git a/userland/c/m5ops.c b/userland/c/m5ops.c index cc7ecbf..ee9af2a 100644 --- a/userland/c/m5ops.c +++ b/userland/c/m5ops.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#m5ops-instructions */ +/* https://cirosantilli.com/linux-kernel-module-cheat#m5ops-instructions */ #include #include diff --git a/userland/c/print_argv.c b/userland/c/print_argv.c index 6984aeb..06a4bb5 100644 --- a/userland/c/print_argv.c +++ b/userland/c/print_argv.c @@ -1,7 +1,7 @@ /* Print each command line argument received, one per line. * * Good sanity check for user mode: - * https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-user-mode-getting-started + * https://cirosantilli.com/linux-kernel-module-cheat#qemu-user-mode-getting-started */ #include diff --git a/userland/c/return1.c b/userland/c/return1.c index ef4cafb..4b7a0ff 100644 --- a/userland/c/return1.c +++ b/userland/c/return1.c @@ -1,2 +1,2 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ +/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ int main(void) { return 1; } diff --git a/userland/c/return2.c b/userland/c/return2.c index f160bf0..aa36109 100644 --- a/userland/c/return2.c +++ b/userland/c/return2.c @@ -1,2 +1,2 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */ +/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */ int main(void) { return 2; } diff --git a/userland/cpp/README.adoc b/userland/cpp/README.adoc index dc55289..27e736b 100644 --- a/userland/cpp/README.adoc +++ b/userland/cpp/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#cpp +https://cirosantilli.com/linux-kernel-module-cheat#cpp diff --git a/userland/cpp/atomic.cpp b/userland/cpp/atomic.cpp index 9a63b45..545487f 100644 --- a/userland/cpp/atomic.cpp +++ b/userland/cpp/atomic.cpp @@ -1,4 +1,4 @@ -// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp +// https://cirosantilli.com/linux-kernel-module-cheat#cpp // // The non-atomic counters have undefined values which get printed: // they are extremely likely to be less than the correct value due to @@ -40,7 +40,7 @@ void threadMain() { : : ); - // https://github.com/cirosantilli/linux-kernel-module-cheat#x86-lock-prefix + // https://cirosantilli.com/linux-kernel-module-cheat#x86-lock-prefix __asm__ __volatile__ ( "lock;" "incq %0;" @@ -55,7 +55,7 @@ void threadMain() { : : ); - // https://github.com/cirosantilli/linux-kernel-module-cheat#arm-lse + // https://cirosantilli.com/linux-kernel-module-cheat#arm-lse __asm__ __volatile__ ( "ldadd %[inc], xzr, [%[addr]];" : "=m" (my_arch_atomic_ulong) diff --git a/userland/cpp/bst_vs_heap_vs_hashmap.cpp b/userland/cpp/bst_vs_heap_vs_hashmap.cpp index 0e544ad..454ecec 100644 --- a/userland/cpp/bst_vs_heap_vs_hashmap.cpp +++ b/userland/cpp/bst_vs_heap_vs_hashmap.cpp @@ -1,4 +1,4 @@ -// https://github.com/cirosantilli/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap +// https://cirosantilli.com/linux-kernel-module-cheat#bst-vs-heap-vs-hashmap #include #include diff --git a/userland/cpp/empty.cpp b/userland/cpp/empty.cpp index 71630b0..370153c 100644 --- a/userland/cpp/empty.cpp +++ b/userland/cpp/empty.cpp @@ -1,4 +1,4 @@ // Sanity checking low level stuff, initially inspired by baremetal. -// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp +// https://cirosantilli.com/linux-kernel-module-cheat#cpp int main() {} diff --git a/userland/cpp/hello.cpp b/userland/cpp/hello.cpp index ab0f367..8935c5a 100644 --- a/userland/cpp/hello.cpp +++ b/userland/cpp/hello.cpp @@ -1,4 +1,4 @@ -// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp +// https://cirosantilli.com/linux-kernel-module-cheat#cpp #include diff --git a/userland/gcc/empty_struct.c b/userland/gcc/empty_struct.c index 2a9a2b6..ddab100 100644 --- a/userland/gcc/empty_struct.c +++ b/userland/gcc/empty_struct.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#c-empty-struct */ +/* https://cirosantilli.com/linux-kernel-module-cheat#c-empty-struct */ #include #include diff --git a/userland/gcc/openmp.c b/userland/gcc/openmp.c index 32b920b..6f94595 100644 --- a/userland/gcc/openmp.c +++ b/userland/gcc/openmp.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#openmp */ +/* https://cirosantilli.com/linux-kernel-module-cheat#openmp */ #include #include diff --git a/userland/gdb_tests/README.adoc b/userland/gdb_tests/README.adoc index 1bcfcd0..0822158 100644 --- a/userland/gdb_tests/README.adoc +++ b/userland/gdb_tests/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests +https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests diff --git a/userland/kernel_modules/anonymous_inode.c b/userland/kernel_modules/anonymous_inode.c index 3d16086..6f9c6ab 100644 --- a/userland/kernel_modules/anonymous_inode.c +++ b/userland/kernel_modules/anonymous_inode.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#anonymous-inode */ +/* https://cirosantilli.com/linux-kernel-module-cheat#anonymous-inode */ #define _GNU_SOURCE #include diff --git a/userland/kernel_modules/ioctl.c b/userland/kernel_modules/ioctl.c index 7c149ad..897a995 100644 --- a/userland/kernel_modules/ioctl.c +++ b/userland/kernel_modules/ioctl.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ioctl */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ioctl */ #define _GNU_SOURCE #include diff --git a/userland/kernel_modules/mmap.c b/userland/kernel_modules/mmap.c index afdaa9e..d93c155 100644 --- a/userland/kernel_modules/mmap.c +++ b/userland/kernel_modules/mmap.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#mmap */ +/* https://cirosantilli.com/linux-kernel-module-cheat#mmap */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/kernel_modules/netlink.c b/userland/kernel_modules/netlink.c index f751ed4..d69223a 100644 --- a/userland/kernel_modules/netlink.c +++ b/userland/kernel_modules/netlink.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets */ +/* https://cirosantilli.com/linux-kernel-module-cheat#netlink-sockets */ #include #include diff --git a/userland/kernel_modules/poll.c b/userland/kernel_modules/poll.c index 491c4d5..c5d40fd 100644 --- a/userland/kernel_modules/poll.c +++ b/userland/kernel_modules/poll.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#poll */ +/* https://cirosantilli.com/linux-kernel-module-cheat#poll */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/kernel_modules/uio_read.c b/userland/kernel_modules/uio_read.c index f246861..adad423 100644 --- a/userland/kernel_modules/uio_read.c +++ b/userland/kernel_modules/uio_read.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#uio */ +/* https://cirosantilli.com/linux-kernel-module-cheat#uio */ #if 1 diff --git a/userland/libs/eigen/hello.cpp b/userland/libs/eigen/hello.cpp index 3d8d00c..737eabb 100644 --- a/userland/libs/eigen/hello.cpp +++ b/userland/libs/eigen/hello.cpp @@ -1,4 +1,4 @@ -// https://github.com/cirosantilli/linux-kernel-module-cheat#eigen +// https://cirosantilli.com/linux-kernel-module-cheat#eigen // Adapted from: https://eigen.tuxfamily.org/dox/GettingStarted.html #include diff --git a/userland/libs/libdrm/modeset.c b/userland/libs/libdrm/modeset.c index ca54f29..7f8e34e 100644 --- a/userland/libs/libdrm/modeset.c +++ b/userland/libs/libdrm/modeset.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#drm +/* https://cirosantilli.com/linux-kernel-module-cheat#drm * Adapted from: https://github.com/dvdhrm/docs/blob/fad7c3203b14e67053e0fc41d8490138b8ff47dd/drm-howto/modeset.c */ /* diff --git a/userland/libs/openblas/hello.c b/userland/libs/openblas/hello.c index 16e63d0..ac70b07 100644 --- a/userland/libs/openblas/hello.c +++ b/userland/libs/openblas/hello.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#blas +/* https://cirosantilli.com/linux-kernel-module-cheat#blas * Adapted from: https://github.com/xianyi/OpenBLAS/wiki/User-Manual/59b62f98e7400270fb03ad1d85fba5b64ebbff2b#call-cblas-interface */ diff --git a/userland/linux/ctrl_alt_del.c b/userland/linux/ctrl_alt_del.c index e35c7c1..5706664 100644 --- a/userland/linux/ctrl_alt_del.c +++ b/userland/linux/ctrl_alt_del.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#ctrl-alt-del */ +/* https://cirosantilli.com/linux-kernel-module-cheat#ctrl-alt-del */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/linux/myinsmod.c b/userland/linux/myinsmod.c index 318eef9..f46941c 100644 --- a/userland/linux/myinsmod.c +++ b/userland/linux/myinsmod.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#myinsmod */ +/* https://cirosantilli.com/linux-kernel-module-cheat#myinsmod */ #define _GNU_SOURCE #include diff --git a/userland/linux/myrmmod.c b/userland/linux/myrmmod.c index 3e09870..69a9b91 100644 --- a/userland/linux/myrmmod.c +++ b/userland/linux/myrmmod.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#myinsmod */ +/* https://cirosantilli.com/linux-kernel-module-cheat#myinsmod */ #define _GNU_SOURCE #include diff --git a/userland/linux/pagemap_dump.c b/userland/linux/pagemap_dump.c index e6669c9..aa6a823 100644 --- a/userland/linux/pagemap_dump.c +++ b/userland/linux/pagemap_dump.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#pagemap_dump-out */ +/* https://cirosantilli.com/linux-kernel-module-cheat#pagemap_dump-out */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/linux/poweroff.c b/userland/linux/poweroff.c index bcae5a9..16f4b0d 100644 --- a/userland/linux/poweroff.c +++ b/userland/linux/poweroff.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#poweroff-out */ +/* https://cirosantilli.com/linux-kernel-module-cheat#poweroff-out */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/linux/proc_events.c b/userland/linux/proc_events.c index 9879b3f..df95a46 100644 --- a/userland/linux/proc_events.c +++ b/userland/linux/proc_events.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#config_proc_events +/* https://cirosantilli.com/linux-kernel-module-cheat#config_proc_events * * Adapted from: https://stackoverflow.com/questions/6075013/detect-launching-of-programs-on-linux-platform/8255487#8255487 */ diff --git a/userland/linux/rand_check.c b/userland/linux/rand_check.c index 0e0f29f..9b6fbbc 100644 --- a/userland/linux/rand_check.c +++ b/userland/linux/rand_check.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#rand_check-out */ +/* https://cirosantilli.com/linux-kernel-module-cheat#rand_check-out */ #include #include diff --git a/userland/linux/sched_getaffinity.c b/userland/linux/sched_getaffinity.c index 61649b9..c6f7062 100644 --- a/userland/linux/sched_getaffinity.c +++ b/userland/linux/sched_getaffinity.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-multicore-userland */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gdb-step-debug-multicore-userland */ #define _GNU_SOURCE #include diff --git a/userland/linux/sched_getaffinity_threads.c b/userland/linux/sched_getaffinity_threads.c index 38a574f..beafa19 100644 --- a/userland/linux/sched_getaffinity_threads.c +++ b/userland/linux/sched_getaffinity_threads.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-multicore-userland */ +/* https://cirosantilli.com/linux-kernel-module-cheat#gdb-step-debug-multicore-userland */ #define _GNU_SOURCE #include diff --git a/userland/linux/time_boot.c b/userland/linux/time_boot.c index 3a5efe9..c4683a3 100644 --- a/userland/linux/time_boot.c +++ b/userland/linux/time_boot.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#time_boot-out */ +/* https://cirosantilli.com/linux-kernel-module-cheat#time_boot-out */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/linux/virt_to_phys_user.c b/userland/linux/virt_to_phys_user.c index c25b08c..a891fb9 100644 --- a/userland/linux/virt_to_phys_user.c +++ b/userland/linux/virt_to_phys_user.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-physical-address-experiments */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-physical-address-experiments */ #define _XOPEN_SOURCE 700 #include /* printf */ diff --git a/userland/posix/README.adoc b/userland/posix/README.adoc index 9489bb2..8b43bed 100644 --- a/userland/posix/README.adoc +++ b/userland/posix/README.adoc @@ -1 +1 @@ -https://github.com/cirosantilli/linux-kernel-module-cheat#posix +https://cirosantilli.com/linux-kernel-module-cheat#posix diff --git a/userland/posix/count.c b/userland/posix/count.c index 5aacc16..1bbb454 100644 --- a/userland/posix/count.c +++ b/userland/posix/count.c @@ -1,5 +1,5 @@ /* Count to infinity with 1 second sleep between each increment. - * Sample application: https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-userland-custom-init + * Sample application: https://cirosantilli.com/linux-kernel-module-cheat#gdb-step-debug-userland-custom-init */ #define _XOPEN_SOURCE 700 diff --git a/userland/posix/sleep_forever.c b/userland/posix/sleep_forever.c index 46cd15e..211ab04 100644 --- a/userland/posix/sleep_forever.c +++ b/userland/posix/sleep_forever.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#sleep_forever-out */ +/* https://cirosantilli.com/linux-kernel-module-cheat#sleep_forever-out */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/posix/uname.c b/userland/posix/uname.c index 930ed4e..bd8d413 100644 --- a/userland/posix/uname.c +++ b/userland/posix/uname.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#fatal-kernel-too-old */ +/* https://cirosantilli.com/linux-kernel-module-cheat#fatal-kernel-too-old */ #define _XOPEN_SOURCE 700 #include diff --git a/userland/posix/virt_to_phys_test.c b/userland/posix/virt_to_phys_test.c index 0f08c62..9fbac93 100644 --- a/userland/posix/virt_to_phys_test.c +++ b/userland/posix/virt_to_phys_test.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-physical-address-experiments */ +/* https://cirosantilli.com/linux-kernel-module-cheat#userland-physical-address-experiments */ #define _XOPEN_SOURCE 700 #include