xref: /titanic_50/usr/src/cmd/mdb/common/kmdb/mapfile_skel (revision 2d08521bd15501c8370ba2153b9cca4f094979d0)
17c478bd9Sstevel@tonic-gate/*
27c478bd9Sstevel@tonic-gate * CDDL HEADER START
37c478bd9Sstevel@tonic-gate *
47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5dc0093f4Seschrock * Common Development and Distribution License (the "License").
6dc0093f4Seschrock * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate *
87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate * and limitations under the License.
127c478bd9Sstevel@tonic-gate *
137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate *
197c478bd9Sstevel@tonic-gate * CDDL HEADER END
207c478bd9Sstevel@tonic-gate */
217c478bd9Sstevel@tonic-gate/* BEGIN PROLOGUE */
227c478bd9Sstevel@tonic-gate/*
23cd3e9333SAli Bahrami * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
24*2d08521bSGarrett D'Amore * Copyright 2014 Garrett D'Amore <garrett@damore.org>
257c478bd9Sstevel@tonic-gate */
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate/*
287c478bd9Sstevel@tonic-gate * This file is used to limit the symbols that are to be exported from the
297c478bd9Sstevel@tonic-gate * debugger.  This ensures that dmods follow the module API.
30b272bda5Spetede *
31b272bda5Spetede * There is a special rule for generating the mapfile. If the symbol
32b272bda5Spetede * is not a function then the symbol, in the mapfile, must have the
33b272bda5Spetede * the token "variable" as the third symbol on the line - see the
34b272bda5Spetede * entries for __ctype and errno below.
357c478bd9Sstevel@tonic-gate */
367c478bd9Sstevel@tonic-gate
37cd3e9333SAli Bahrami$mapfile_version 2
38cd3e9333SAli Bahrami
39cd3e9333SAli BahramiSYMBOL_SCOPE {
407c478bd9Sstevel@tonic-gate	global:
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate/* END PROLOGUE */
437c478bd9Sstevel@tonic-gate/* BEGIN EPILOGUE */
447c478bd9Sstevel@tonic-gate		/*
457c478bd9Sstevel@tonic-gate		 * Secret additions to the module API
467c478bd9Sstevel@tonic-gate		 */
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate		/* There should be only one - ours */
49b272bda5Spetede		errno;		/* variable */
50*2d08521bSGarrett D'Amore		isprint;
51*2d08521bSGarrett D'Amore		isalnum;
52*2d08521bSGarrett D'Amore		isalpha;
53*2d08521bSGarrett D'Amore		isgraph;
54*2d08521bSGarrett D'Amore		iscntrl;
55*2d08521bSGarrett D'Amore		isdigit;
56*2d08521bSGarrett D'Amore		isxdigit;
57*2d08521bSGarrett D'Amore		isupper;
58*2d08521bSGarrett D'Amore		islower;
59*2d08521bSGarrett D'Amore		ispunct;
60*2d08521bSGarrett D'Amore		isspace;
617c478bd9Sstevel@tonic-gate
627c478bd9Sstevel@tonic-gate		mdb_tgt_aread;
637c478bd9Sstevel@tonic-gate		mdb_dis_create;
647c478bd9Sstevel@tonic-gate		mdb_dis_destroy;
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate	local:
677c478bd9Sstevel@tonic-gate		*;
687c478bd9Sstevel@tonic-gate};
697c478bd9Sstevel@tonic-gate/* END EPILOGUE */
70