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