Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 15:18:33 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286924 - head/sys/amd64/cloudabi64
Message-ID:  <201508191518.t7JFIXCg095936@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Aug 19 15:18:32 2015
New Revision: 286924
URL: https://svnweb.freebsd.org/changeset/base/286924

Log:
  Add a kern.features.cloudabi64 entry when the module is loaded to helps the
  userland to be able to test is cloudabi64 is supported or not
  
  Reviewed by:	ed
  Differential Revision:	https://reviews.freebsd.org/D3430

Modified:
  head/sys/amd64/cloudabi64/cloudabi64_sysvec.c

Modified: head/sys/amd64/cloudabi64/cloudabi64_sysvec.c
==============================================================================
--- head/sys/amd64/cloudabi64/cloudabi64_sysvec.c	Wed Aug 19 13:23:07 2015	(r286923)
+++ head/sys/amd64/cloudabi64/cloudabi64_sysvec.c	Wed Aug 19 15:18:32 2015	(r286924)
@@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 #include <sys/proc.h>
 #include <sys/smp.h>
+#include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/systm.h>
 
@@ -272,3 +273,4 @@ static moduledata_t cloudabi64_module = 
 
 DECLARE_MODULE_TIED(cloudabi64, cloudabi64_module, SI_SUB_EXEC, SI_ORDER_ANY);
 MODULE_DEPEND(cloudabi64, cloudabi, 1, 1, 1);
+FEATURE(cloudabi64, "CloudABI 64bit support");



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