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