Programming with 64-Bit ARM Assembly Language: Single Board Computer Development for Raspberry Pi and Mobile Devices
Chapter 7: Linux Operating System Services
2021.08.12: updated by
Calling Convention
- X0-X7: 入力パラメータ
- X8: Linux System Call 番号
- "SVC 0" によってソフトウェア割り込み0番を呼び出す
- X0: 呼び出しからの返り値
Linux System Call Numbers
/usr/include/asm-gneric/unistd.h
Return Codes
/usr/include/errno.h
/usr/include/asm-generic/errno.h
/usr/include/asm-generic/errno-base.h
略
http://nw.tsuda.ac.jp/