From owner-p4-projects@FreeBSD.ORG Sat Apr 5 09:18:42 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 672DE1065671; Sat, 5 Apr 2008 09:18:42 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10E291065672 for ; Sat, 5 Apr 2008 09:18:42 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E703F8FC18 for ; Sat, 5 Apr 2008 09:18:41 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m359IfRI096677 for ; Sat, 5 Apr 2008 09:18:41 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m359If6g096675 for perforce@freebsd.org; Sat, 5 Apr 2008 09:18:41 GMT (envelope-from rdivacky@FreeBSD.org) Date: Sat, 5 Apr 2008 09:18:41 GMT Message-Id: <200804050918.m359If6g096675@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 139402 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 09:18:42 -0000 http://perforce.freebsd.org/chv.cgi?CH=139402 Change 139402 by rdivacky@rdivacky_witten on 2008/04/05 09:18:06 Initial attempt to implement linuxulator64. This is just a copy of amd64/linux32/* but the syscalls.master is changed to match real amd64 linux. This is a WIP, expect more to come. Affected files ... .. //depot/projects/linuxolator/src/sys/amd64/linux/Makefile#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux.h#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_dummy.c#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_genassym.c#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_ipc64.h#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_locore.s#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_machdep.c#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_proto.h#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_support.s#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_syscall.h#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_sysent.c#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/linux_sysvec.c#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/syscalls.conf#1 add .. //depot/projects/linuxolator/src/sys/amd64/linux/syscalls.master#1 add .. //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#17 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#17 (text+ko) ==== @@ -543,7 +543,7 @@ int protocol; }; -static int +int linux_socket(struct thread *td, struct linux_socket_args *args) { struct linux_socket_args linux_args; @@ -610,7 +610,7 @@ int namelen; }; -static int +int linux_bind(struct thread *td, struct linux_bind_args *args) { struct linux_bind_args linux_args; @@ -715,7 +715,7 @@ l_uintptr_t namelen; }; -static int +int linux_accept(struct thread *td, struct linux_accept_args *args) { struct linux_accept_args linux_args; @@ -765,7 +765,7 @@ l_uintptr_t namelen; }; -static int +int linux_getsockname(struct thread *td, struct linux_getsockname_args *args) { struct linux_getsockname_args linux_args; @@ -799,7 +799,7 @@ l_uintptr_t namelen; }; -static int +int linux_getpeername(struct thread *td, struct linux_getpeername_args *args) { struct linux_getpeername_args linux_args; @@ -833,7 +833,7 @@ l_uintptr_t rsv; }; -static int +int linux_socketpair(struct thread *td, struct linux_socketpair_args *args) { struct linux_socketpair_args linux_args; @@ -865,7 +865,7 @@ int flags; }; -static int +int linux_send(struct thread *td, struct linux_send_args *args) { struct linux_send_args linux_args; @@ -961,7 +961,7 @@ l_uintptr_t fromlen; }; -static int +int linux_recvfrom(struct thread *td, struct linux_recvfrom_args *args) { struct linux_recvfrom_args linux_args; @@ -1011,7 +1011,7 @@ int flags; }; -static int +int linux_sendmsg(struct thread *td, struct linux_sendmsg_args *args) { struct linux_sendmsg_args linux_args; @@ -1063,7 +1063,7 @@ int flags; }; -static int +int linux_recvmsg(struct thread *td, struct linux_recvmsg_args *args) { struct linux_recvmsg_args linux_args;