summaryrefslogtreecommitdiff
path: root/usr/src/compat/freebsd/sys/kernel.h
diff options
context:
space:
mode:
authorTycho Nightingale <tycho.nightingale@pluribusnetworks.com>2017-09-26 12:19:41 +0200
committerPatrick Mooney <pmooney@pfmooney.com>2020-05-11 01:29:28 +0000
commitbf21cd9318e0a3a51b7f02c14a7c1b1aef2dc861 (patch)
tree34776e0714e4213579f050a392cc0c663a59fcda /usr/src/compat/freebsd/sys/kernel.h
parent4c7b9a81057545d490dd52cf823de529d8137a5b (diff)
downloadillumos-joyent-bf21cd9318e0a3a51b7f02c14a7c1b1aef2dc861.tar.gz
12612 import Pluribus bhyve port
Authored by: Krupal Joshi <krupal.joshi@pluribusnetworks.com> Contributed by: Pluribus Networks Inc. Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/compat/freebsd/sys/kernel.h')
-rw-r--r--usr/src/compat/freebsd/sys/kernel.h25
1 files changed, 25 insertions, 0 deletions
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 <sys/linker_set.h>
+
+#define ticks ddi_get_lbolt()
+
+#endif /* _COMPAT_FREEBSD_SYS_KERNEL_H_ */