xref: /illumos-gate/usr/src/uts/common/mapfiles/ddi.mapfile (revision 82d0151a507442720a3aea34c8925041894ab173)
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 of 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 of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2020 Joyent, Inc.
14# Copyright 2020 RackTop Systems, Inc.
15# Copyright 2021 Oxide Computer Company
16#
17
18#
19# MAPFILE HEADER START
20#
21# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
22# Object scoping must comply with the rules detailed in
23#
24#	usr/src/uts/common/mapfiles/README
25#
26# You should not be making modifications here until you've read the most current
27# copy of that file. If you need help, contact a gatekeeper for guidance.
28#
29# MAPFILE HEADER END
30#
31
32#
33# This file contains core functions provided by the DDI and also items
34# required as part of the platform's runime ABI (think compiler
35# functions).
36#
37
38$mapfile_version 2
39
40SYMBOL_SCOPE {
41    global:
42	__divdi3			{ FLAGS = EXTERN };
43	__stack_chk_fail		{ FLAGS = EXTERN };
44	__stack_chk_guard		{ FLAGS = EXTERN };
45	__x86_indirect_thunk		{ FLAGS = EXTERN };
46	__x86_indirect_thunk_r10	{ FLAGS = EXTERN };
47	__x86_indirect_thunk_r11	{ FLAGS = EXTERN };
48	__x86_indirect_thunk_r12	{ FLAGS = EXTERN };
49	__x86_indirect_thunk_r13	{ FLAGS = EXTERN };
50	__x86_indirect_thunk_r14	{ FLAGS = EXTERN };
51	__x86_indirect_thunk_r15	{ FLAGS = EXTERN };
52	__x86_indirect_thunk_r8		{ FLAGS = EXTERN };
53	__x86_indirect_thunk_r9		{ FLAGS = EXTERN };
54	__x86_indirect_thunk_rax	{ FLAGS = EXTERN };
55	__x86_indirect_thunk_rbp	{ FLAGS = EXTERN };
56	__x86_indirect_thunk_rbx	{ FLAGS = EXTERN };
57	__x86_indirect_thunk_rcx	{ FLAGS = EXTERN };
58	__x86_indirect_thunk_rdi	{ FLAGS = EXTERN };
59	__x86_indirect_thunk_rdx	{ FLAGS = EXTERN };
60	__x86_indirect_thunk_rsi	{ FLAGS = EXTERN };
61	allocb				{ FLAGS = EXTERN };
62	assfail				{ FLAGS = EXTERN };
63	assfail3			{ FLAGS = EXTERN };
64	atomic_dec_32_nv		{ FLAGS = EXTERN };
65	bcmp				{ FLAGS = EXTERN };
66	bcopy				{ FLAGS = EXTERN };
67	bzero				{ FLAGS = EXTERN };
68	cmn_err				{ FLAGS = EXTERN };
69	cv_broadcast			{ FLAGS = EXTERN };
70	cv_destroy			{ FLAGS = EXTERN };
71	cv_init				{ FLAGS = EXTERN };
72	cv_reltimedwait			{ FLAGS = EXTERN };
73	cv_signal			{ FLAGS = EXTERN };
74	cv_wait				{ FLAGS = EXTERN };
75	ddi_cb_register			{ FLAGS = EXTERN };
76	ddi_cb_unregister		{ FLAGS = EXTERN };
77	ddi_create_minor_node		{ FLAGS = EXTERN };
78	ddi_dev_regsize			{ FLAGS = EXTERN };
79	ddi_dma_addr_bind_handle	{ FLAGS = EXTERN };
80	ddi_dma_alloc_handle		{ FLAGS = EXTERN };
81	ddi_dma_cookie_iter		{ FLAGS = EXTERN };
82	ddi_dma_cookie_one		{ FLAGS = EXTERN };
83	ddi_dma_free_handle		{ FLAGS = EXTERN };
84	ddi_dma_mem_alloc		{ FLAGS = EXTERN };
85	ddi_dma_mem_free		{ FLAGS = EXTERN };
86	ddi_dma_nextcookie		{ FLAGS = EXTERN };
87	ddi_dma_sync			{ FLAGS = EXTERN };
88	ddi_dma_unbind_handle		{ FLAGS = EXTERN };
89	ddi_fls				{ FLAGS = EXTERN };
90	ddi_fm_acc_err_clear		{ FLAGS = EXTERN };
91	ddi_fm_acc_err_get		{ FLAGS = EXTERN };
92	ddi_fm_dma_err_get		{ FLAGS = EXTERN };
93	ddi_fm_ereport_post		{ FLAGS = EXTERN };
94	ddi_fm_fini			{ FLAGS = EXTERN };
95	ddi_fm_handler_register		{ FLAGS = EXTERN };
96	ddi_fm_handler_unregister	{ FLAGS = EXTERN };
97	ddi_fm_init			{ FLAGS = EXTERN };
98	ddi_fm_service_impact		{ FLAGS = EXTERN };
99	ddi_get_driver_private		{ FLAGS = EXTERN };
100	ddi_get_instance		{ FLAGS = EXTERN };
101	ddi_get_lbolt			{ FLAGS = EXTERN };
102	ddi_get_lbolt64			{ FLAGS = EXTERN };
103	ddi_get_name			{ FLAGS = EXTERN };
104	ddi_get_parent			{ FLAGS = EXTERN };
105	ddi_get16			{ FLAGS = EXTERN };
106	ddi_get32			{ FLAGS = EXTERN };
107	ddi_get64			{ FLAGS = EXTERN };
108	ddi_intr_add_handler		{ FLAGS = EXTERN };
109	ddi_intr_alloc			{ FLAGS = EXTERN };
110	ddi_intr_block_disable		{ FLAGS = EXTERN };
111	ddi_intr_block_enable		{ FLAGS = EXTERN };
112	ddi_intr_disable		{ FLAGS = EXTERN };
113	ddi_intr_enable			{ FLAGS = EXTERN };
114	ddi_intr_free			{ FLAGS = EXTERN };
115	ddi_intr_get_cap		{ FLAGS = EXTERN };
116	ddi_intr_get_navail		{ FLAGS = EXTERN };
117	ddi_intr_get_nintrs		{ FLAGS = EXTERN };
118	ddi_intr_get_pri		{ FLAGS = EXTERN };
119	ddi_intr_get_supported_types	{ FLAGS = EXTERN };
120	ddi_intr_remove_handler		{ FLAGS = EXTERN };
121	ddi_periodic_add		{ FLAGS = EXTERN };
122	ddi_periodic_delete		{ FLAGS = EXTERN };
123	ddi_power			{ FLAGS = EXTERN };
124	ddi_prop_free			{ FLAGS = EXTERN };
125	ddi_prop_get_int		{ FLAGS = EXTERN };
126	ddi_prop_lookup_int_array	{ FLAGS = EXTERN };
127	ddi_prop_lookup_string		{ FLAGS = EXTERN };
128	ddi_prop_op			{ FLAGS = EXTERN };
129	ddi_prop_remove_all		{ FLAGS = EXTERN };
130	ddi_prop_update_int_array	{ FLAGS = EXTERN };
131	ddi_prop_update_string		{ FLAGS = EXTERN };
132	ddi_ptob			{ FLAGS = EXTERN };
133	ddi_put16			{ FLAGS = EXTERN };
134	ddi_put32			{ FLAGS = EXTERN };
135	ddi_quiesce_not_supported	{ FLAGS = EXTERN };
136	ddi_regs_map_free		{ FLAGS = EXTERN };
137	ddi_regs_map_setup		{ FLAGS = EXTERN };
138	ddi_set_driver_private		{ FLAGS = EXTERN };
139	ddi_strtol			{ FLAGS = EXTERN };
140	ddi_taskq_create		{ FLAGS = EXTERN };
141	ddi_taskq_destroy		{ FLAGS = EXTERN };
142	ddi_taskq_dispatch		{ FLAGS = EXTERN };
143	ddi_ufm_fini			{ FLAGS = EXTERN };
144	ddi_ufm_image_set_desc		{ FLAGS = EXTERN };
145	ddi_ufm_image_set_misc		{ FLAGS = EXTERN };
146	ddi_ufm_image_set_nslots	{ FLAGS = EXTERN };
147	ddi_ufm_init			{ FLAGS = EXTERN };
148	ddi_ufm_slot_set_attrs		{ FLAGS = EXTERN };
149	ddi_ufm_slot_set_imgsize	{ FLAGS = EXTERN };
150	ddi_ufm_slot_set_misc		{ FLAGS = EXTERN };
151	ddi_ufm_slot_set_version	{ FLAGS = EXTERN };
152	ddi_ufm_update			{ FLAGS = EXTERN };
153	delay				{ FLAGS = EXTERN };
154	desballoc			{ FLAGS = EXTERN };
155	dev_err				{ FLAGS = EXTERN };
156	drv_usectohz			{ FLAGS = EXTERN };
157	drv_usecwait			{ FLAGS = EXTERN };
158	ffs				{ FLAGS = EXTERN };
159	fm_ena_generate			{ FLAGS = EXTERN };
160	freeb				{ FLAGS = EXTERN };
161	freemsg				{ FLAGS = EXTERN };
162	freemsgchain			{ FLAGS = EXTERN };
163	gethrtime			{ FLAGS = EXTERN };
164	kmem_alloc			{ FLAGS = EXTERN };
165	kmem_free			{ FLAGS = EXTERN };
166	kmem_zalloc			{ FLAGS = EXTERN };
167	kstat_create			{ FLAGS = EXTERN };
168	kstat_delete			{ FLAGS = EXTERN };
169	kstat_install			{ FLAGS = EXTERN };
170	kstat_named_init		{ FLAGS = EXTERN };
171	list_create			{ FLAGS = EXTERN };
172	list_destroy			{ FLAGS = EXTERN };
173	list_head			{ FLAGS = EXTERN };
174	list_insert_head		{ FLAGS = EXTERN };
175	list_insert_tail		{ FLAGS = EXTERN };
176	list_next			{ FLAGS = EXTERN };
177	list_remove			{ FLAGS = EXTERN };
178	list_remove_head		{ FLAGS = EXTERN };
179	memcpy				{ FLAGS = EXTERN };
180	memset				{ FLAGS = EXTERN };
181	miocack				{ FLAGS = EXTERN };
182	miocnak				{ FLAGS = EXTERN };
183	mod_driverops			{ FLAGS = EXTERN };
184	mod_info			{ FLAGS = EXTERN };
185	mod_install			{ FLAGS = EXTERN };
186	mod_remove			{ FLAGS = EXTERN };
187	msgpullup			{ FLAGS = EXTERN };
188	msgsize				{ FLAGS = EXTERN };
189	mutex_destroy			{ FLAGS = EXTERN };
190	mutex_enter			{ FLAGS = EXTERN };
191	mutex_exit			{ FLAGS = EXTERN };
192	mutex_init			{ FLAGS = EXTERN };
193	mutex_owned			{ FLAGS = EXTERN };
194	mutex_tryenter			{ FLAGS = EXTERN };
195	nochpoll			{ FLAGS = EXTERN };
196	nodev				{ FLAGS = EXTERN };
197	nulldev				{ FLAGS = EXTERN };
198	nvlist_add_string		{ FLAGS = EXTERN };
199	nvlist_alloc			{ FLAGS = EXTERN };
200	nvlist_free			{ FLAGS = EXTERN };
201	panic				{ FLAGS = EXTERN };
202	pci_config_get16		{ FLAGS = EXTERN };
203	pci_config_get32		{ FLAGS = EXTERN };
204	pci_config_get64		{ FLAGS = EXTERN };
205	pci_config_get8			{ FLAGS = EXTERN };
206	pci_config_put16		{ FLAGS = EXTERN };
207	pci_config_put32		{ FLAGS = EXTERN };
208	pci_config_put64		{ FLAGS = EXTERN };
209	pci_config_put8			{ FLAGS = EXTERN };
210	pci_config_setup		{ FLAGS = EXTERN };
211	pci_config_teardown		{ FLAGS = EXTERN };
212	pci_ereport_post		{ FLAGS = EXTERN };
213	pci_ereport_setup		{ FLAGS = EXTERN };
214	pci_ereport_teardown		{ FLAGS = EXTERN };
215	pci_lcap_locate			{ FLAGS = EXTERN };
216	qreply				{ FLAGS = EXTERN };
217	rw_destroy			{ FLAGS = EXTERN };
218	rw_enter			{ FLAGS = EXTERN };
219	rw_exit				{ FLAGS = EXTERN };
220	rw_init				{ FLAGS = EXTERN };
221	snprintf			{ FLAGS = EXTERN };
222	sprintf				{ FLAGS = EXTERN };
223	strcat				{ FLAGS = EXTERN };
224	strcmp				{ FLAGS = EXTERN };
225	strcpy				{ FLAGS = EXTERN };
226	strlcpy				{ FLAGS = EXTERN };
227	strlen				{ FLAGS = EXTERN };
228	timeout				{ FLAGS = EXTERN };
229	untimeout			{ FLAGS = EXTERN };
230	vcmn_err			{ FLAGS = EXTERN };
231	vdev_err			{ FLAGS = EXTERN };
232	vsnprintf			{ FLAGS = EXTERN };
233	vsprintf			{ FLAGS = EXTERN };
234};
235