xref: /illumos-gate/usr/src/uts/common/klm/mapfile-ops (revision bbaa8b60)
1*bbaa8b60SDan Kruchinin#
2*bbaa8b60SDan Kruchinin# This file and its contents are supplied under the terms of the
3*bbaa8b60SDan Kruchinin# Common Development and Distribution License ("CDDL"), version 1.0.
4*bbaa8b60SDan Kruchinin# You may only use this file in accordance with the terms version
5*bbaa8b60SDan Kruchinin# 1.0 of the CDDL.
6*bbaa8b60SDan Kruchinin#
7*bbaa8b60SDan Kruchinin# A full copy of the text of the CDDL should have accompanied this
8*bbaa8b60SDan Kruchinin# source.  A copy is of the CDDL is also available via the Internet
9*bbaa8b60SDan Kruchinin# at http://www.illumos.org/license/CDDL.
10*bbaa8b60SDan Kruchinin#
11*bbaa8b60SDan Kruchinin
12*bbaa8b60SDan Kruchinin#
13*bbaa8b60SDan Kruchinin# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14*bbaa8b60SDan Kruchinin#
15*bbaa8b60SDan Kruchinin
16*bbaa8b60SDan Kruchinin
17*bbaa8b60SDan Kruchinin$mapfile_version 2
18*bbaa8b60SDan Kruchinin
19*bbaa8b60SDan KruchininSYMBOL_SCOPE {
20*bbaa8b60SDan Kruchinin	global:
21*bbaa8b60SDan Kruchinin# loadable module linkage
22*bbaa8b60SDan Kruchinin		_fini;
23*bbaa8b60SDan Kruchinin		_info;
24*bbaa8b60SDan Kruchinin		_init;
25*bbaa8b60SDan Kruchinin# These are all the symbols referenced in ml/modstubs.s
26*bbaa8b60SDan Kruchinin# If we want to remain a drop-in replacment for the old
27*bbaa8b60SDan Kruchinin# (closed source) klm, we need to define all of these.
28*bbaa8b60SDan Kruchinin
29*bbaa8b60SDan Kruchinin		lm4_frlock;
30*bbaa8b60SDan Kruchinin		lm4_shrlock;
31*bbaa8b60SDan Kruchinin		lm_frlock;
32*bbaa8b60SDan Kruchinin		lm_nlm4_dispatch;
33*bbaa8b60SDan Kruchinin		lm_nlm4_reclaim;
34*bbaa8b60SDan Kruchinin		lm_nlm_dispatch;
35*bbaa8b60SDan Kruchinin		lm_nlm_reclaim;
36*bbaa8b60SDan Kruchinin		lm_register_lock_locally;
37*bbaa8b60SDan Kruchinin
38*bbaa8b60SDan Kruchinin	local:
39*bbaa8b60SDan Kruchinin		*;
40*bbaa8b60SDan Kruchinin};