syscall sysret

Joseph Koshy joseph.koshy at gmail.com
Fri Mar 25 05:05:53 PST 2005


> Does amd64 freebsd always utilize syscall / sysret opcodes?

See: src/lib/libc/amd64/SYS.h
...
     66 #define KERNCALL        movq %rcx, %r10; syscall
...

So the answer appears to be yes for native binaries.

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy


More information about the freebsd-amd64 mailing list