xref: /illumos-gate/usr/src/uts/intel/sys/comm_page_util.h (revision f0089e391b2bc4be2755f1a1b51fb4cd9b8f3988)
1*f0089e39SRichard Lowe /*
2*f0089e39SRichard Lowe  * This file and its contents are supplied under the terms of the
3*f0089e39SRichard Lowe  * Common Development and Distribution License ("CDDL"), version 1.0.
4*f0089e39SRichard Lowe  * You may only use this file in accordance with the terms of version
5*f0089e39SRichard Lowe  * 1.0 of the CDDL.
6*f0089e39SRichard Lowe  *
7*f0089e39SRichard Lowe  * A full copy of the text of the CDDL should have accompanied this
8*f0089e39SRichard Lowe  * source.  A copy of the CDDL is also available via the Internet at
9*f0089e39SRichard Lowe  * http://www.illumos.org/license/CDDL.
10*f0089e39SRichard Lowe  */
11*f0089e39SRichard Lowe 
12*f0089e39SRichard Lowe /*
13*f0089e39SRichard Lowe  * Copyright 2016 Joyent, Inc.
14*f0089e39SRichard Lowe  */
15*f0089e39SRichard Lowe 
16*f0089e39SRichard Lowe #ifndef _COMM_PAGE_UTIL_H
17*f0089e39SRichard Lowe #define	_COMM_PAGE_UTIL_H
18*f0089e39SRichard Lowe 
19*f0089e39SRichard Lowe #ifdef __cplusplus
20*f0089e39SRichard Lowe extern "C" {
21*f0089e39SRichard Lowe #endif
22*f0089e39SRichard Lowe 
23*f0089e39SRichard Lowe #if defined(_KERNEL)
24*f0089e39SRichard Lowe 
25*f0089e39SRichard Lowe extern caddr_t comm_page_mapin();
26*f0089e39SRichard Lowe 
27*f0089e39SRichard Lowe #endif /* defined(_KERNEL) */
28*f0089e39SRichard Lowe 
29*f0089e39SRichard Lowe #ifdef __cplusplus
30*f0089e39SRichard Lowe }
31*f0089e39SRichard Lowe #endif
32*f0089e39SRichard Lowe 
33*f0089e39SRichard Lowe #endif /* _COMM_PAGE_UTIL_H */
34