Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2015 07:32:50 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
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
Message-ID:  <201507220732.t6M7WoLr010338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.kmod.mk>

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 <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507220732.t6M7WoLr010338>