From owner-svn-src-head@freebsd.org Wed Jul 22 07:32:51 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 649F69A8034; Wed, 22 Jul 2015 07:32:51 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30C801659; Wed, 22 Jul 2015 07:32:51 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6M7Wppt010341; Wed, 22 Jul 2015 07:32:51 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6M7WoLr010338; Wed, 22 Jul 2015 07:32:50 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201507220732.t6M7WoLr010338@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Wed, 22 Jul 2015 07:32:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285786 - in head/sys/modules: . cloudabi cloudabi64 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 07:32:51 -0000 Author: ed Date: Wed Jul 22 07:32:49 2015 New Revision: 285786 URL: https://svnweb.freebsd.org/changeset/base/285786 Log: Add Makefiles for CloudABI kernel modules. Place all of the machine/pointer size independent code in a kernel module called 'cloudabi'. All of the 64-bit specific code goes in a separate module called 'cloudabi64'. The latter is only enabled on amd64, as it is the only architecture supported. Added: head/sys/modules/cloudabi/ head/sys/modules/cloudabi/Makefile (contents, props changed) head/sys/modules/cloudabi64/ head/sys/modules/cloudabi64/Makefile (contents, props changed) Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Wed Jul 22 05:05:01 2015 (r285785) +++ head/sys/modules/Makefile Wed Jul 22 07:32:49 2015 (r285786) @@ -72,6 +72,8 @@ SUBDIR= \ ${_ce} \ ${_cfi} \ ${_ciss} \ + cloudabi \ + ${_cloudabi64} \ ${_cm} \ ${_cmx} \ ${_coff} \ @@ -616,6 +618,7 @@ _x86bios= x86bios .endif .if ${MACHINE_CPUARCH} == "amd64" +_cloudabi64= cloudabi64 _ixl= ixl _ixlv= ixlv _linux64= linux64 Added: head/sys/modules/cloudabi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/cloudabi/Makefile Wed Jul 22 07:32:49 2015 (r285786) @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../compat/cloudabi + +KMOD= cloudabi +SRCS= cloudabi_clock.c cloudabi_errno.c cloudabi_fd.c cloudabi_file.c \ + cloudabi_futex.c cloudabi_mem.c cloudabi_proc.c cloudabi_random.c \ + cloudabi_sock.c cloudabi_thread.c vnode_if.h + +.include Added: head/sys/modules/cloudabi64/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/cloudabi64/Makefile Wed Jul 22 07:32:49 2015 (r285786) @@ -0,0 +1,11 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../compat/cloudabi64 +.PATH: ${.CURDIR}/../../${MACHINE_CPUARCH}/cloudabi64 + +KMOD= cloudabi64 +SRCS= cloudabi64_fd.c cloudabi64_poll.c cloudabi64_sock.c \ + cloudabi64_syscalls.c cloudabi64_sysent.c cloudabi64_sysvec.c \ + cloudabi64_thread.c + +.include