xref: /titanic_41/usr/src/uts/common/klm/mapfile-mod (revision 0b42f15ac52b077791d4ba079e8c163c592c3fda)
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		lm_alloc_sysidt;
29		lm_cprresume;
30		lm_cprsuspend;
31		lm_free_config;
32		lm_free_sysidt;
33		lm_get_sysid;
34		lm_global_nlmid;
35		lm_has_sleep;
36		lm_rel_sysid;
37		lm_remove_file_locks;
38		lm_safelock;
39		lm_safemap;
40		lm_set_nlmid_flk;
41		lm_shutdown;
42		lm_svc;
43		lm_sysidt;
44		lm_unexport;
45		lm_vp_active;
46# The following three functions are not mentioned in modstubs.s
47# files, because they are not an entry points to KLM. They
48# are called from klmops only.
49		nlm_frlock;
50		nlm_register_lock_locally;
51		nlm_shrlock;
52
53	local:
54		*;
55};
56