mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Move all non-README links to cirosantilli.com where the file is not cut off...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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.h>
|
||||
LKMC_PROLOGUE
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-tests
|
||||
https://cirosantilli.com/linux-kernel-module-cheat#gdb-tests
|
||||
|
||||
@@ -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.h>
|
||||
LKMC_PROLOGUE
|
||||
|
||||
@@ -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 <assert.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -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 <inttypes.h>
|
||||
|
||||
@@ -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 <inttypes.h>
|
||||
|
||||
@@ -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 <assert.h>
|
||||
|
||||
@@ -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 <assert.h>
|
||||
|
||||
|
||||
@@ -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 <assert.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -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 <assert.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -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 <assert.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#userland-assembly */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#assembly-registers */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#assembly-registers */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#assembly-registers */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#assembly-registers */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-sve */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#arm-sve */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
@@ -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 <lkmc.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user