inline_asm: remember register variables :-)

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-06-25 10:00:09 +00:00
parent 3eca3b8124
commit 15ffa40b6e
3 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
/* aarch64 freestanding C inline assemby Linux hello world
* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls
*/
* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */
#include <inttypes.h>

View File

@@ -1,6 +1,5 @@
/* x86_64 freestanding C inline assemby Linux hello world
* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls
*/
* https://cirosantilli.com/linux-kernel-module-cheat#linux-system-calls */
#define _XOPEN_SOURCE 700
#include <inttypes.h>