Date: Sun, 27 Apr 2003 15:52:35 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29901 for review Message-ID: <200304272252.h3RMqZ4i074701@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29901 Change 29901 by peter@peter_daintree on 2003/04/27 15:52:11 vfork(2) definately cannot work with syscall. Hardcode int $0x80 for now. I think I'll tweak the syscall ABI so that it preserves a couple of "scratch" registers (%rdi,%rsi) for use by the wrappers. Affected files ... .. //depot/projects/hammer/lib/libc/x86_64/sys/Ovfork.S#4 edit Differences ... ==== //depot/projects/hammer/lib/libc/x86_64/sys/Ovfork.S#4 (text+ko) ==== @@ -49,7 +49,8 @@ ENTRY(__sys_vfork) popq %rcx /* my rta into ecx */ mov $SYS_vfork,%rax - KERNCALL + /* cant use KERNCALL yet, no scratch regs, cant use stack */ + int $0x80 jb 1f jmp *%rcx 1:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304272252.h3RMqZ4i074701>