Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 13:05:52 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: syscall sysret
Message-ID:  <84dead7205032505051c1eb879@mail.gmail.com>
In-Reply-To: <4243D111.1020904@he.iki.fi>
References:  <4243D111.1020904@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead7205032505051c1eb879>