From bf21cd9318e0a3a51b7f02c14a7c1b1aef2dc861 Mon Sep 17 00:00:00 2001 From: Tycho Nightingale Date: Tue, 26 Sep 2017 12:19:41 +0200 Subject: 12612 import Pluribus bhyve port Authored by: Krupal Joshi Contributed by: Pluribus Networks Inc. Reviewed by: Jerry Jelinek Reviewed by: Dan McDonald Reviewed by: Mike Gerdts Reviewed by: Patrick Mooney Reviewed by: Toomas Soome Approved by: Robert Mustacchi --- usr/src/compat/freebsd/sys/kernel.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 usr/src/compat/freebsd/sys/kernel.h (limited to 'usr/src/compat/freebsd/sys/kernel.h') diff --git a/usr/src/compat/freebsd/sys/kernel.h b/usr/src/compat/freebsd/sys/kernel.h new file mode 100644 index 0000000000..b1c07674e4 --- /dev/null +++ b/usr/src/compat/freebsd/sys/kernel.h @@ -0,0 +1,25 @@ +/* + * This file and its contents are supplied under the terms of the + * Common Development and Distribution License ("CDDL"), version 1.0. + * You may only use this file in accordance with the terms of version + * 1.0 of the CDDL. + * + * A full copy of the text of the CDDL should have accompanied this + * source. A copy of the CDDL is also available via the Internet at + * http://www.illumos.org/license/CDDL. + */ + +/* + * Copyright 2013 Pluribus Networks Inc. + */ + +#ifndef _COMPAT_FREEBSD_SYS_KERNEL_H_ +#define _COMPAT_FREEBSD_SYS_KERNEL_H_ + +#define SYSINIT(uniquifier, subsystem, order, func, ident) + +#include + +#define ticks ddi_get_lbolt() + +#endif /* _COMPAT_FREEBSD_SYS_KERNEL_H_ */ -- cgit v1.2.3