Move all non-README links to cirosantilli.com where the file is not cut off...

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-07-07 00:00:01 +00:00
parent ec74746707
commit 28cd27f969
380 changed files with 419 additions and 419 deletions

View File

@@ -1 +1 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#cpp
https://cirosantilli.com/linux-kernel-module-cheat#cpp

View File

@@ -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)

View File

@@ -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 <algorithm>
#include <cassert>

View File

@@ -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() {}

View File

@@ -1,4 +1,4 @@
// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp
// https://cirosantilli.com/linux-kernel-module-cheat#cpp
#include <iostream>