xref: /illumos-gate/usr/src/uts/common/mapfiles/ddi.mapfile (revision 8119dad84d6416f13557b0ba8e2aaf9064cbcfd3)
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-2024 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	atomic_inc_32_nv		{ FLAGS = EXTERN };
66	bcmp				{ FLAGS = EXTERN };
67	bcopy				{ FLAGS = EXTERN };
68	bzero				{ FLAGS = EXTERN };
69	cmn_err				{ FLAGS = EXTERN };
70	cv_broadcast			{ FLAGS = EXTERN };
71	cv_destroy			{ FLAGS = EXTERN };
72	cv_init				{ FLAGS = EXTERN };
73	cv_reltimedwait			{ FLAGS = EXTERN };
74	cv_signal			{ FLAGS = EXTERN };
75	cv_wait				{ FLAGS = EXTERN };
76	ddi_cb_register			{ FLAGS = EXTERN };
77	ddi_cb_unregister		{ FLAGS = EXTERN };
78	ddi_create_minor_node		{ FLAGS = EXTERN };
79	ddi_copyin			{ FLAGS = EXTERN };
80	ddi_copyout			{ FLAGS = EXTERN };
81	ddi_dev_regsize			{ FLAGS = EXTERN };
82	ddi_dma_addr_bind_handle	{ FLAGS = EXTERN };
83	ddi_dma_alloc_handle		{ FLAGS = EXTERN };
84	ddi_dma_cookie_iter		{ FLAGS = EXTERN };
85	ddi_dma_cookie_one		{ FLAGS = EXTERN };
86	ddi_dma_free_handle		{ FLAGS = EXTERN };
87	ddi_dma_mem_alloc		{ FLAGS = EXTERN };
88	ddi_dma_mem_free		{ FLAGS = EXTERN };
89	ddi_dma_nextcookie		{ FLAGS = EXTERN };
90	ddi_dma_sync			{ FLAGS = EXTERN };
91	ddi_dma_unbind_handle		{ FLAGS = EXTERN };
92	ddi_fls				{ FLAGS = EXTERN };
93	ddi_fm_acc_err_clear		{ FLAGS = EXTERN };
94	ddi_fm_acc_err_get		{ FLAGS = EXTERN };
95	ddi_fm_dma_err_get		{ FLAGS = EXTERN };
96	ddi_fm_ereport_post		{ FLAGS = EXTERN };
97	ddi_fm_fini			{ FLAGS = EXTERN };
98	ddi_fm_handler_register		{ FLAGS = EXTERN };
99	ddi_fm_handler_unregister	{ FLAGS = EXTERN };
100	ddi_fm_init			{ FLAGS = EXTERN };
101	ddi_fm_service_impact		{ FLAGS = EXTERN };
102	ddi_get_cred			{ FLAGS = EXTERN };
103	ddi_get_driver_private		{ FLAGS = EXTERN };
104	ddi_get_instance		{ FLAGS = EXTERN };
105	ddi_get_lbolt			{ FLAGS = EXTERN };
106	ddi_get_lbolt64			{ FLAGS = EXTERN };
107	ddi_get_name			{ FLAGS = EXTERN };
108	ddi_get_parent			{ FLAGS = EXTERN };
109	ddi_get_pid			{ FLAGS = EXTERN };
110	ddi_get_soft_state		{ FLAGS = EXTERN };
111	ddi_get16			{ FLAGS = EXTERN };
112	ddi_get32			{ FLAGS = EXTERN };
113	ddi_get64			{ FLAGS = EXTERN };
114	ddi_intr_add_handler		{ FLAGS = EXTERN };
115	ddi_intr_alloc			{ FLAGS = EXTERN };
116	ddi_intr_block_disable		{ FLAGS = EXTERN };
117	ddi_intr_block_enable		{ FLAGS = EXTERN };
118	ddi_intr_disable		{ FLAGS = EXTERN };
119	ddi_intr_enable			{ FLAGS = EXTERN };
120	ddi_intr_free			{ FLAGS = EXTERN };
121	ddi_intr_get_cap		{ FLAGS = EXTERN };
122	ddi_intr_get_navail		{ FLAGS = EXTERN };
123	ddi_intr_get_nintrs		{ FLAGS = EXTERN };
124	ddi_intr_get_pri		{ FLAGS = EXTERN };
125	ddi_intr_get_supported_types	{ FLAGS = EXTERN };
126	ddi_intr_remove_handler		{ FLAGS = EXTERN };
127	ddi_name_to_major		{ FLAGS = EXTERN };
128	ddi_periodic_add		{ FLAGS = EXTERN };
129	ddi_periodic_delete		{ FLAGS = EXTERN };
130	ddi_power			{ FLAGS = EXTERN };
131	ddi_prop_free			{ FLAGS = EXTERN };
132	ddi_prop_get_int		{ FLAGS = EXTERN };
133	ddi_prop_lookup_int_array	{ FLAGS = EXTERN };
134	ddi_prop_lookup_string		{ FLAGS = EXTERN };
135	ddi_prop_op			{ FLAGS = EXTERN };
136	ddi_prop_remove_all		{ FLAGS = EXTERN };
137	ddi_prop_update_int_array	{ FLAGS = EXTERN };
138	ddi_prop_update_string		{ FLAGS = EXTERN };
139	ddi_ptob			{ FLAGS = EXTERN };
140	ddi_put16			{ FLAGS = EXTERN };
141	ddi_put32			{ FLAGS = EXTERN };
142	ddi_quiesce_not_needed		{ FLAGS = EXTERN };
143	ddi_quiesce_not_supported	{ FLAGS = EXTERN };
144	ddi_regs_map_free		{ FLAGS = EXTERN };
145	ddi_regs_map_setup		{ FLAGS = EXTERN };
146	ddi_remove_minor_node		{ FLAGS = EXTERN };
147	ddi_report_dev			{ FLAGS = EXTERN };
148	ddi_set_driver_private		{ FLAGS = EXTERN };
149	ddi_soft_state_fini		{ FLAGS = EXTERN };
150	ddi_soft_state_free		{ FLAGS = EXTERN };
151	ddi_soft_state_init		{ FLAGS = EXTERN };
152	ddi_soft_state_zalloc		{ FLAGS = EXTERN };
153	ddi_strtol			{ FLAGS = EXTERN };
154	ddi_taskq_create		{ FLAGS = EXTERN };
155	ddi_taskq_destroy		{ FLAGS = EXTERN };
156	ddi_taskq_dispatch		{ FLAGS = EXTERN };
157	ddi_ufm_fini			{ FLAGS = EXTERN };
158	ddi_ufm_image_set_desc		{ FLAGS = EXTERN };
159	ddi_ufm_image_set_misc		{ FLAGS = EXTERN };
160	ddi_ufm_image_set_nslots	{ FLAGS = EXTERN };
161	ddi_ufm_init			{ FLAGS = EXTERN };
162	ddi_ufm_slot_set_attrs		{ FLAGS = EXTERN };
163	ddi_ufm_slot_set_imgsize	{ FLAGS = EXTERN };
164	ddi_ufm_slot_set_misc		{ FLAGS = EXTERN };
165	ddi_ufm_slot_set_version	{ FLAGS = EXTERN };
166	ddi_ufm_update			{ FLAGS = EXTERN };
167	delay				{ FLAGS = EXTERN };
168	desballoc			{ FLAGS = EXTERN };
169	dev_err				{ FLAGS = EXTERN };
170	drv_usectohz			{ FLAGS = EXTERN };
171	drv_usecwait			{ FLAGS = EXTERN };
172	ffs				{ FLAGS = EXTERN };
173	fm_ena_generate			{ FLAGS = EXTERN };
174	freeb				{ FLAGS = EXTERN };
175	freemsg				{ FLAGS = EXTERN };
176	freemsgchain			{ FLAGS = EXTERN };
177	gethrtime			{ FLAGS = EXTERN };
178	kmem_alloc			{ FLAGS = EXTERN };
179	kmem_free			{ FLAGS = EXTERN };
180	kmem_zalloc			{ FLAGS = EXTERN };
181	kstat_create			{ FLAGS = EXTERN };
182	kstat_delete			{ FLAGS = EXTERN };
183	kstat_install			{ FLAGS = EXTERN };
184	kstat_named_init		{ FLAGS = EXTERN };
185	list_create			{ FLAGS = EXTERN };
186	list_destroy			{ FLAGS = EXTERN };
187	list_head			{ FLAGS = EXTERN };
188	list_insert_head		{ FLAGS = EXTERN };
189	list_insert_tail		{ FLAGS = EXTERN };
190	list_next			{ FLAGS = EXTERN };
191	list_remove			{ FLAGS = EXTERN };
192	list_remove_head		{ FLAGS = EXTERN };
193	memcpy				{ FLAGS = EXTERN };
194	memset				{ FLAGS = EXTERN };
195	miocack				{ FLAGS = EXTERN };
196	miocnak				{ FLAGS = EXTERN };
197	mod_driverops			{ FLAGS = EXTERN };
198	mod_info			{ FLAGS = EXTERN };
199	mod_install			{ FLAGS = EXTERN };
200	mod_remove			{ FLAGS = EXTERN };
201	msgpullup			{ FLAGS = EXTERN };
202	msgsize				{ FLAGS = EXTERN };
203	mutex_destroy			{ FLAGS = EXTERN };
204	mutex_enter			{ FLAGS = EXTERN };
205	mutex_exit			{ FLAGS = EXTERN };
206	mutex_init			{ FLAGS = EXTERN };
207	mutex_owned			{ FLAGS = EXTERN };
208	mutex_tryenter			{ FLAGS = EXTERN };
209	nochpoll			{ FLAGS = EXTERN };
210	nodev				{ FLAGS = EXTERN };
211	nulldev				{ FLAGS = EXTERN };
212	nvlist_add_string		{ FLAGS = EXTERN };
213	nvlist_alloc			{ FLAGS = EXTERN };
214	nvlist_free			{ FLAGS = EXTERN };
215	panic				{ FLAGS = EXTERN };
216	pci_config_get16		{ FLAGS = EXTERN };
217	pci_config_get32		{ FLAGS = EXTERN };
218	pci_config_get64		{ FLAGS = EXTERN };
219	pci_config_get8			{ FLAGS = EXTERN };
220	pci_config_put16		{ FLAGS = EXTERN };
221	pci_config_put32		{ FLAGS = EXTERN };
222	pci_config_put64		{ FLAGS = EXTERN };
223	pci_config_put8			{ FLAGS = EXTERN };
224	pci_config_setup		{ FLAGS = EXTERN };
225	pci_config_teardown		{ FLAGS = EXTERN };
226	pci_ereport_post		{ FLAGS = EXTERN };
227	pci_ereport_setup		{ FLAGS = EXTERN };
228	pci_ereport_teardown		{ FLAGS = EXTERN };
229	pci_lcap_locate			{ FLAGS = EXTERN };
230	qreply				{ FLAGS = EXTERN };
231	rw_destroy			{ FLAGS = EXTERN };
232	rw_enter			{ FLAGS = EXTERN };
233	rw_exit				{ FLAGS = EXTERN };
234	rw_init				{ FLAGS = EXTERN };
235	snprintf			{ FLAGS = EXTERN };
236	sprintf				{ FLAGS = EXTERN };
237	strcat				{ FLAGS = EXTERN };
238	strcmp				{ FLAGS = EXTERN };
239	strcpy				{ FLAGS = EXTERN };
240	strlcpy				{ FLAGS = EXTERN };
241	strlen				{ FLAGS = EXTERN };
242	timeout				{ FLAGS = EXTERN };
243	untimeout			{ FLAGS = EXTERN };
244	vcmn_err			{ FLAGS = EXTERN };
245	vdev_err			{ FLAGS = EXTERN };
246	vsnprintf			{ FLAGS = EXTERN };
247	vsprintf			{ FLAGS = EXTERN };
248};
249