Date: Sat, 5 Apr 2008 09:18:41 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 139402 for review Message-ID: <200804050918.m359If6g096675@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804050918.m359If6g096675>