]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Document the syscall ABI
authorNicholas Piggin <npiggin@gmail.com>
Wed, 14 Sep 2016 03:21:47 +0000 (13:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 20 Sep 2016 04:36:14 +0000 (14:36 +1000)
commitbdccd983b12b4c1565380cda1a59af26b972a929
treefc4d0f1beeba382fb213e60bf6d4b10771d8cd2c
parent42fae450515b3a7cd873c86d7792c4bc4182f0da
powerpc/64: Document the syscall ABI

Add some documentation for the 64-bit syscall ABI, which doesn't seem
to be documented elsewhere.

This attempts to document existing practice. The only small discrepancy
is glibc clobbers not quite matching the kernel (e.g., xer, some
vsyscalls trash cr1 whereas glibc only clobbers cr0). These will be
resolved after this document is merged.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/powerpc/syscall64-abi.txt [new file with mode: 0644]