HomeFreeBSD

linux(4): Simplify %r10 restoring on amd64

Description

linux(4): Simplify %r10 restoring on amd64

Restore %r10 at system call entry to avoid doing this multiply times.

Differential Revision: https://reviews.freebsd.org/D40154
MFC after: 1 month

(cherry picked from commit 185bd9fa3096595350ebe7bcd7e0ddcf17773030)

Details

Provenance
dchaginAuthored on May 28 2023, 2:06 PM
Differential Revision
D40154: linux(4): Simplify %r10 restoring on amd64
Parents
rGd0117d06e9e3: linux(4): Add a comment explaining registers at syscall entry point on amd64
Branches
Unknown
Tags
Unknown