Peter Wemm 4dbb9c65d7 Update for AMD64-style syscalls. Repocopied from i386/SYS.h.
Note that the syscall instruction clobbers %rcx, which is inconvenient
because it is the fourth syscall argument, so we use %r10 (another scratch
register) for the 4th syscall arg instead (I picked %r10 to be the same as
NetBSD).  int 0x80 is still possible though, and it uses %rcx as usual.
Note that the syscall style syscall does *NOT* preserve all the registers,
unlike int 0x80.  We do not preserve the scratch registers except for
%rdi and %rsi.  int 0x80 does preserve everything but the return values.
2003-04-30 18:06:14 +00:00
..
2003-04-20 18:38:59 +00:00
2003-04-20 18:41:16 +00:00
2002-09-28 00:25:32 +00:00
2002-12-27 12:15:40 +00:00
2003-03-24 16:02:05 +00:00
2002-12-27 12:15:40 +00:00
2003-02-06 11:25:03 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2002-09-28 00:25:32 +00:00
2003-03-24 16:02:05 +00:00
2003-01-28 23:03:15 +00:00
2003-04-30 15:49:40 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2003-04-20 03:06:42 +00:00
2003-01-07 13:18:21 +00:00
2003-04-09 01:52:49 +00:00
2003-04-26 15:15:05 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2003-03-09 19:56:21 +00:00
2003-04-30 15:49:40 +00:00
2003-04-30 15:33:50 +00:00
2002-09-28 00:25:32 +00:00