**************************************************************************
* Copyright 1994, Silicon Graphics, Inc. 
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
* the contents of this file may not be disclosed to third parties, copied or 
* duplicated in any form, in whole or in part, without the prior written 
* permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to restrictions 
* as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
* and Computer Software clause at DFARS 252.227-7013, and/or in similar or 
* successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished - 
* rights reserved under the Copyright Laws of the United States.
**************************************************************************
*
*#ident	"$Revision: 1.34 $
*
*
* RTSYMTAB - runtime symbol table for dynamically loadable kernel modules.
*
* A runtime symbol table is created by lboot in master.c from the table 
* included in this file and from the master.d/xxx.export files. This
* table is used by mload to link loadable modules into the kernel when 
* they are dynamically loaded.
*
* Only routines and global variables that are always present in the kernel 
* should be added to master.d/rtsymtab. Also, if a routine or global 
* variable is machine or processor specific, the appropriate ifdefs should 
* be used.
*
* If a routine or global variable exists in a module that might not be 
* configured into the kernel, it should be added to an xxx.exports file 
* which will not be included in the kernel if the module is not configured 
* in. See /var/sysgen/master.d/socket.exports, for example.
*
* If a loadable module (a module which contains a 'd' in its master file)
* contains initialized variables in its master.d file, an xxx.exports file 
* will need to be created, which includes those variables. See
* /var/sysgen/master.d/{hpcplp,hpcplp.exports}, for example.
*
* If you include a header file in this file, it must be a header file that
* is always installed on all machines. Otherwise, autoconfig will fail to
* find that header file and fail to create a kernel.
*
*
*FLAG	PREFIX	SOFT	#DEV	DEPENDENCIES
x	-	 -	  -
	
$$$

/*
 * rtsymtab - runtime symbol table for dynamically loadable kernel modules.
 */

#include <sys/poll.h>
#include <sys/cpu.h>
#include <sys/ddi.h>
#include <sys/debug.h>
#include <sys/region.h>
#include <sys/immu.h>
#include <sys/kmem.h>
#include <sys/ksynch.h>
#include <sys/mbuf.h>
#include <sys/invent.h>
#include <sys/pfdat.h>
#include <sys/region.h>
#include <sys/rtsymtab.h>
#include <sys/sema.h>
#include <sys/strmp.h>

int rtsymtabsize = 0;

/* these 2 externs are temporary */
extern int fastclock;
extern int fastick;

#include <sys/domain.h>
#include <sys/dlsap_register.h>

/* 
 * These are provided for backwards compatibility with 5.1. The routines
 * dlsap_register and dlsap_unregister should be used.
 */
extern dlsap_register(), dlsap_unregister();

extern struct ifnet ifnet;
extern struct ifnet loif;
extern struct domain *domains;
extern u_int netisr;
extern void dotimeout();
extern void __dcache_wb_inval();
extern void __dcache_wb();
extern void __dcache_inval();
extern void dcache_inval();
extern void *kdsp_timercallback_ptr;
extern void *volumectrl_ptr;
#ifdef IP22
extern uint _hpc3_write1;
#endif /* IP22 */


/* Can't include sys/cmn_err.h, because it requires stdarg.h, which is part of
 * IDO; don't need "real" declarations here anyway */
extern void cmn_err();
extern void icmn_err();
extern void printf();
extern void sprintf();
extern void vsprintf();

/* same for sys/systm.h; it also tries to include stdarg.h */
extern atoi(), badaddr(), bcmp(), dki_dcache_wbinval(), dki_dcache_inval(),
	dki_dcache_wb(), dki_dcache_wbinval(), fast_timeout(),
	fastuntimeout_func(), gencopy(), issplhi(), issplprof(), 
	kern_calloc(), kern_free(), kern_malloc(), kern_realloc(), lbolt(), 
	nulldev(), numtos(), panic(), physmem(), preemptchk(), resident(),
	siron(), siroff(), splimp(), splnet(), splprof(), splhi_relnet(),
	splvme(), suser(), us_delay(), us_delaybus(), untimeout_func(),
	splgio1(), setinfoRunq();

/* network externs - if.h and netisr.h not always installed */
extern ifa_ifwithaddr(), ifa_ifwithaddr(), ifa_ifwithdstaddr(),
	ifa_ifwithdstaddr(), schednetisr();

#if	R4000 || TFP
extern dcache_wbinval();
#endif	/* R4000 || TFP */
#if	defined(IP12) || defined(IP20) || defined(IP22)
extern	splgio1();
#endif	/* IP12 || IP20 || IP22 */

extern void flushbus();

extern is_vh(), vh_checksum();

extern __ull_div();

extern int  cachewrback;

/* string.h is part of IDO also */
extern strcat(), strchr(), strcmp(), strcpy(), strlen(), strncmp(),
	strncpy(), strstr();

rtsymtab_t rtsymtab[] = {

	/* from sys/buf.h */
	{(long)	&biodone,	"biodone"},		/* DDI/DKI */
	{(long)	&bioerror,	"bioerror"},		/* DDI/DKI */
	{(long)	&biowait,	"biowait"},		/* DDI/DKI */
	{(long)	&bp_mapout,	"bp_mapout"},		/* DDI/DKI */
	{(long)	&brelse,	"brelse"},		/* DDI/DKI */
	/* dma_pageio DDI/DKI */
	{(long)	&freerbuf,	"freerbuf"},		/* DDI/DKI */
	{(long)	&geteblk,	"geteblk"},		/* DDI/DKI */
	{(long)	&geterror,	"geterror"},		/* DDI/DKI */
	{(long)	&getnextpg,	"getnextpg"},		/* DDI/DKI */
	{(long)	&getrbuf,	"getrbuf"},		/* DDI/DKI */
	{(long)	&iodone,	"iodone"},
	{(long)	&ngeteblk,	"ngeteblk"},
	{(long)	&uiophysio,	"uiophysio"},

	/* cache routines */
	{(long)	&cachewrback,	"cachewrback"},
#if	R4000 || TFP
	{(long)	&dcache_wbinval,"dcache_wbinval"},
	{(long)	&__dcache_wb_inval,"__dcache_wb_inval"},
	{(long)	&__dcache_wb,"__dcache_wb"},
	{(long)	&__dcache_inval,"__dcache_inval"},
#endif	/* R4000 || TFP */

	{(long)	&dcache_inval,"dcache_inval"},
	{(long)	&dki_dcache_inval,"dki_dcache_inval"},
	{(long)	&dki_dcache_wb,"dki_dcache_wb"},
	{(long)	&dki_dcache_wbinval,"dki_dcache_wbinval"},
	{(long)	&scache_linemask,"scache_linemask"},

	/* from sys/cpu.h */
#if	defined(IP6) || defined(IP12) || defined(IP20) || defined(IP22)
	{(long)	&setlclvector,	"setlclvector"},
#endif	/* IP6||IP12||IP20||IP22 */

#if	defined(IP12) || defined(IP20) || defined(IP22)
	{(long) &setgioconfig,	"setgioconfig"},
	{(long) &setgiovector,	"setgiovector"},
#endif	/* IP12||IP20||IP22 */

	/* from sys/ddi.h */
	/* ASSERT DDI/DKI */
	{(long)	&OTHERQ,	"OTHERQ"},		/* DDI/DKI */
	{(long)	&RD,		"RD"},			/* DDI/DKI */
	{(long)	&WR,		"WR"},			/* DDI/DKI */
	{(long)	&bcopy,		"bcopy"},		/* DDI/DKI */
	{(long)	&btop,		"btop"},		/* DDI/DKI */
	{(long)	&btopr,		"btopr"},		/* DDI/DKI */
	{(long)	&bzero,		"bzero"},		/* DDI/DKI */
	{(long)	&copyin,	"copyin"},		/* DDI/DKI */
	{(long)	&copyout,	"copyout"},		/* DDI/DKI */
	{(long) &cmpdev,	"cmpdev"},
	{(long) &datamsg,	"datamsg"},		/* DDI/DKI */
	{(long) &delay,		"delay"},		/* DDI/DKI */
	{(long) &drv_getparm,	"drv_getparm"},		/* DDI/DKI */
	{(long) &drv_hztousec,	"drv_hztousec"},	/* DDI/DKI */
	{(long) &drv_priv,	"drv_priv"},		/* DDI/DKI */
	{(long) &drv_setparm,	"drv_setparm"},		/* DDI/DKI */
	{(long) &drv_usectohz,	"drv_usectohz"},	/* DDI/DKI */
	{(long) &drv_usecwait,	"drv_usecwait"},	/* DDI/DKI */
	{(long)	&dtimeout,	"dtimeout"},		/* DDI/DKI */
	{(long) &etoimajor,	"etoimajor"},		/* DDI/DKI */
	{(long) &expdev,	"expdev"},
	{(long)	&getemajor,	"getemajor"},		/* DDI/DKI */
	{(long)	&geteminor,	"geteminor"},		/* DDI/DKI */
	{(long)	&getmajor,	"getmajor"},		/* DDI/DKI */
	{(long)	&getminor,	"getminor"},		/* DDI/DKI */
	{(long)	&itimeout,	"itimeout"},		/* DDI/DKI */
	{(long)	&itoemajor,	"itoemajor"},		/* DDI/DKI */
	/* kvtoppid DDI/DKI */
	{(long) &kvtophyspnum,  "kvtophyspnum"},
	{(long)	&kvtophys,	"kvtophys"},
	{(long)	&ddi_lock,	"ddi_lock"},		/* DDI/DKI LOCK */
	{(long)	&lock_alloc,	"lock_alloc"},		/* DDI/DKI LOCK_ALLOC*/
	{(long)	&lock_dealloc,	"lock_dealloc"},	/* DDI/DKI LOCK_ALLOC*/
	/* RW_ALLOC - DDI/DKI */
	/* RW_DEALLOC - DDI/DKI */
	/* RW_RDLOCK - DDI/DKI */
	/* RW_TRYRDLOCK - DDI/DKI */
	/* RW_TRYWDLOCK - DDI/DKI */
	/* RW_UNLOCK - DDI/DKI */
	/* RW_WRLOCK - DDI/DKI */
	{(long)	&makedevice,	"makedevice"},		/* DDI/DKI */
	{(long)	&max,		"max"},			/* DDI/DKI */
	{(long)	&min,		"min"},			/* DDI/DKI */
	{(long)	&phalloc,	"phalloc"},		/* DDI/DKI */
	{(long)	&phfree,	"phfree"},		/* DDI/DKI */
	{(long)	&physiock,	"physiock"},		/* DDI/DKI */
	{(long)	&proc_ref,	"proc_ref"},		/* DDI/DKI */
	{(long)	&proc_signal,	"proc_signal"},		/* DDI/DKI */
	{(long)	&proc_unref,	"proc_unref"},		/* DDI/DKI */
	{(long)	&ptob,		"ptob"},		/* DDI/DKI */
	{(long)	&putnext,	"putnext"},		/* DDI/DKI */
	{(long)	&sleep,		"sleep"},
	{(long)	&spl0,		"spl0"},
	{(long)	&spl1,		"spl1"},
#if	defined(IP12) || defined(IP19) || defined(IP20) || defined(IP22)
	{(long)	&spl3,		"spl3"},
#endif	/* IP12 || IP19 || IP20 || IP22 */
	{(long)	&spl5,		"spl5"},
	{(long)	&spl6,		"spl6"},
	{(long)	&spl7,		"spl7"},
	{(long)	&splbase,	"splbase"},		/* DDI/DKI */
	{(long)	&spltimeout,	"spltimeout"},		/* DDI/DKI */
	{(long)	&spldisk,	"spldisk"},		/* DDI/DKI */
	{(long)	&splhi,		"splhi"},		/* DDI/DKI */
	{(long)	&splstr,	"splstr"},		/* DDI/DKI */
	{(long)	&spltty,	"spltty"},
#if	defined(IP12) || defined(IP20) || defined(IP22)
	{(long)	&splgio1,	"splgio1"},
#endif	/* IP12 || IP20 || IP22 */
	{(long)	&splx,		"splx"},		/* DDI/DKI */
	{(long)	&timeout,	"timeout"},
	{(long)	&ddi_unlock,	"ddi_unlock"},		/* DDI/DKI UNLOCK */
	{(long)	&untimeout,	"untimeout"},		/* DDI/DKI */
	{(long)	&wakeup,	"wakeup"},

	/* from sys/domain.h */
	{(long)	&domain_add,	"domain_add"},
	{(long)	&domain_del,	"domain_del"},
	{(long)	&domains,	"domains"},

	/* from sys/dvh.h */
	{(long)	&is_vh,		"is_vh"},
	{(long)	&vh_checksum,	"vh_checksum"},

	/* from sys/dlsap_register.h */
	{(long)	&register_dlsap, "register_dlsap"},
	{(long)	&unregister_dlsap, "unregister_dlsap"},
	{(long)	&dlsap_register, "dlsap_register"},
	{(long)	&dlsap_unregister, "dlsap_unregister"},
	{(long)	&dlsap_find,	"dlsap_find"},

	/* from net/if.h */
	{(long) &ifa_ifwithaddr, "ifa_ifwithaddr"},
	{(long) &ifa_ifwithdstaddr, "ifa_ifwithdstaddr"},

	/* from sys/immu.h */
	{(long)	&kvpalloc,	"kvpalloc"},
	{(long)	&kvpfree,	"kvpfree"},
	{(long)	&cachecolormask,"cachecolormask"},

	/* from sys/invent.h */
	{(long)	&add_to_inventory,"add_to_inventory"},
	{(long)	&find_inventory,"find_inventory"},

	/* from sys/kmem.h */
	{(long)	&kmem_alloc,	"kmem_alloc"},		/* DDI/DKI */	
	{(long)	&kmem_avail,	"kmem_avail"},		/* DDI/DKI */	
	{(long)	&kmem_free,	"kmem_free"},		/* DDI/DKI */
	{(long)	&kmem_realloc,	"kmem_realloc"},	/* DDI/DKI */
	{(long)	&kmem_zalloc,	"kmem_zalloc"},		/* DDI/DKI */
	/* physmap - DDI/DKI */
	/* physmap_free - DDI/DKI */

	/* from sys/ksynch.h */
	{(long)	&plbase,	"plbase"},
	{(long)	&pltimeout,	"pltimeout"},
	{(long)	&pldisk,	"pldisk"},
	{(long)	&plstr,		"plstr"},
	{(long)	&plhi,		"plhi"},
	{(long)	&sleep_alloc,	"sleep_alloc"},		/* DDI/DKI */
	{(long)	&sleep_dealloc,	"sleep_dealloc"},	/* DDI/DKI */
	{(long)	&sleep_lock,	"sleep_lock"},		/* DDI/DKI */
	{(long)	&sleep_lockavail,"sleep_lockavail"},	/* DDI/DKI */
	/* sleep_lockowned - DDI/DKI */
	{(long)	&sleep_lock_sig,"sleep_lock_sig"},	/* DDI/DKI */
	{(long)	&sleep_trylock,"sleep_trylock"},	/* DDI/DKI */
	{(long)	&sleep_unlock,"sleep_unlock"},		/* DDI/DKI */
	/* SV_ALLOC - DDI/DKI */
	/* SV_BROADCAST - DDI/DKI */
	/* SV_DEALLOC - DDI/DKI */
	/* SV_SIGNAL - DDI/DKI */
	/* SV_WAIT - DDI/DKI */
	/* SV_WAIT_SIG - DDI/DKI */
	{(long)	&trylock,	"trylock"},		/* DDI/DKI */

	/* from sys/ktime.h */
	{(long)	&microtime,	"microtime"},
	{(long)	&query_cyclecntr,"query_cyclecntr"},
	{(long)	&enable_fastclock,"enable_fastclock"},
#if R4000 || IP12
	{(long)	&update_ust,"update_ust"},
	{(long)	&ust_to_nano,"ust_to_nano"},
	{(long)	&get_ust_nano,"get_ust_nano"},
	{(long)	&ust_val,"ust_val"},
	{(long)	&ust_freq,"ust_freq"},
#endif

	/* from ml/ll.c */
	{(long long)&__ull_div, "__ull_div"},

	/* from sys/map.h */
	{(long)	&rmalloc,	"rmalloc"},		/* DDI/DKI */
	{(long)	&rmallocmap,	"rmallocmap"},		/* DDI/DKI */
	{(long)	&rmalloc_wait,	"rmalloc_wait"},	/* DDI/DKI */
	{(long)	&rmfree,	"rmfree"},		/* DDI/DKI */

	/* from sys/mbuf.h */
	{(long)	&m_adj,		"m_adj"},		
	{(long)	&m_cat,		"m_cat"},		
	{(long)	&m_copy,	"m_copy"},		
	{(long)	&m_datacopy,	"m_datacopy"},		
	{(long)	&m_flip,	"m_flip"},		
	{(long)	&m_free,	"m_free"},		
	{(long)	&m_freem,	"m_freem"},		
	{(long)	&m_get,		"m_get"},		
	{(long)	&m_getclr,	"m_getclr"},		
	{(long)	&m_length,	"m_length"},		
	{(long)	&m_pullup,	"m_pullup"},		
	{(long)	&m_vget,	"m_vget"},		
	{(long)	&mcb_free,	"mcb_free"},		
	{(long)	&mcb_get,	"mcb_get"},		

	/* from net/netisr.h */
	{(long)	&schednetisr,	"schednetisr"},		

	/* from sys/pfdat.h */
#ifdef _VCE_AVOIDANCE
	{(long)	&vce_avoidance,	"vce_avoidance"},
#endif

	/* from sys/poll.h */
	{(long)	&pollwakeup,	"pollwakeup"},		/* DDI/DKI */
	{(long)	&initpollhead,	"initpollhead"},

	/* from sys/region.h */
	{(long)	&v_mapphys,	"v_mapphys"},

	/* from sys/sema.h */
	{(long)	&initnsema,	"initnsema"},
	{(long)	&initsema,	"initsema"},
	{(long)	&initnsema_mutex, "initnsema_mutex"},
	{(long)	&initsema_mutex, "initsema_mutex"},
	{(long)	&initnlock,	"initnlock"},
	{(long)	&freesema,	"freesema"},
	{(long)	&freesplock,	"freesplock"},
	{(long)	&makesname,	"makesname"},
	{(long)	&psema,		"psema"},
	{(long)	&vsema,		"vsema"},
	{(long)	&cvsema,	"cvsema"},
	{(long)	&svpsema,	"svpsema"},
#ifdef	MP
	{(long)	&ownlock,	"ownlock"},
	{(long)	&spsema,	"spsema"},
	{(long)	&svsema,	"svsema"},
	{(long)	&splock,	"splock"},
	{(long)	&spunlock,	"spunlock"},
	{(long)	&splockspl,	"splockspl"},
	{(long)	&spunlockspl,	"spunlockspl"},
	{(long)	&io_splock,	"io_splock"},
	{(long)	&io_spunlock,	"io_spunlock"},
	{(long)	&io_splockspl,	"io_splockspl"},
	{(long)	&io_spunlockspl,"io_spunlockspl"},
	{(long)	&valusema,	"valusema"},
#endif	/* MP */

	/* from sys/stream.h */
	{(long)	&adjmsg,	"adjmsg"},		/* DDI/DKI */
	{(long)	&allocb,	"allocb"},		/* DDI/DKI */
	{(long)	&bcanput,	"bcanput"},		/* DDI/DKI */
	{(long)	&bcanputnext,	"bcanputnext"},		/* DDI/DKI */
	{(long)	&bufcall,	"bufcall"},		/* DDI/DKI */
	{(long)	&canput,	"canput"},		/* DDI/DKI */
	{(long)	&canputnext,	"canputnext"},		/* DDI/DKI */
	{(long)	&clrbuf,	"clrbuf"},		/* DDI/DKI */
	{(long)	&copyb,		"copyb"},		/* DDI/DKI */
	{(long)	&copymsg,	"copymsg"},		/* DDI/DKI */
	{(long)	&dupb,		"dupb"},		/* DDI/DKI */
	{(long)	&dupmsg,	"dupmsg"},		/* DDI/DKI */
	{(long)	&enableok,	"enableok"},		/* DDI/DKI */
	{(long)	&esballoc,	"esballoc"},		/* DDI/DKI */
	{(long)	&esbbcall,	"esbbcall"},		/* DDI/DKI */
	{(long)	&flushband,	"flushband"},		/* DDI/DKI */
	{(long)	&flushq,	"flushq"},		/* DDI/DKI */
	{(long)	&freeb,		"freeb"},		/* DDI/DKI */
	{(long)	&freemsg,	"freemsg"},		/* DDI/DKI */
	{(long)	&freezestr,	"freezestr"},		/* DDI/DKI */
	{(long)	&getq,		"getq"},		/* DDI/DKI */
	{(long)	&insq,		"insq"},		/* DDI/DKI */
	{(long)	&linkb,		"linkb"},		/* DDI/DKI */
	{(long)	&msgdsize,	"msgdsize"},		/* DDI/DKI */
	{(long)	&msgpullup,	"msgpullup"},		/* DDI/DKI */
	{(long)	&noenable,	"noenable"},		/* DDI/DKI */
	{(long)	&pcmsg,		"pcmsg"},		/* DDI/DKI */
	{(long)	&pullupmsg,	"pullupmsg"},		/* DDI/DKI */
	{(long)	&put,		"put"},			/* DDI/DKI */
	{(long)	&putbq,		"putbq"},		/* DDI/DKI */
	{(long)	&putctl,	"putctl"},		/* DDI/DKI */
	{(long)	&putctl1,	"putctl1"},		/* DDI/DKI */
	{(long)	&putnextctl,	"putnextctl"},		/* DDI/DKI */
	{(long)	&putnextctl1,	"putnextctl1"},		/* DDI/DKI */
	{(long)	&putq,		"putq"},		/* DDI/DKI */
	{(long)	&qenable,	"qenable"},		/* DDI/DKI */
	{(long)	&qprocsoff,	"qprocsoff"},		/* DDI/DKI */
	{(long)	&qprocson,	"qprocson"},		/* DDI/DKI */
	{(long)	&qreply,	"qreply"},		/* DDI/DKI */
	{(long)	&qsize,		"qsize"},		/* DDI/DKI */
	{(long)	&rmvb,		"rmvb"},		/* DDI/DKI */
	{(long)	&rmvq,		"rmvq"},		/* DDI/DKI */
	{(long)	&strqget,	"strqget"},		/* DDI/DKI */
	{(long)	&strqset,	"strqset"},		/* DDI/DKI */
	{(long)	&unbufcall,	"unbufcall"},		/* DDI/DKI */
	{(long)	&unfreezestr,	"unfreezestr"},		/* DDI/DKI */
	{(long)	&unlinkb,	"unlinkb"},		/* DDI/DKI */
#ifndef _IRIX_LATER
	{(long)	&sdrv_error,	"sdrv_error"},		
	{(long)	&sdrv_flush,	"sdrv_flush"},		
	{(long)	&str_allocb,	"str_allocb"},		
	{(long)	&str_conmsg,	"str_conmsg"},		
	{(long)	&str_unbcall,	"str_unbcall"},		
	{(long)	&strdrv_push,	"strdrv_push"},		
#endif /* !_IRIX_LATER */

	/* from string.h, normally */
	{(long)	&strcat,	"strcat"},
	{(long)	&strchr,	"strchr"},
	{(long)	&strcmp,	"strcmp"},
	{(long)	&strcpy,	"strcpy"},
	{(long)	&strlen,	"strlen"},
	{(long)	&strncmp,	"strncmp"},
	{(long)	&strncpy,	"strncpy"},
	{(long)	&strstr,	"strstr"},

	/* from sys/strlog.h */
	{(long)	&strlog,	"strlog"},		/* DDI/DKI */

	/* from sys/strmp.h */
#ifdef	MP_STREAMS
	{(long)	&streams_timeout, "streams_timeout"},
#endif	/* MP_STREAMS */

	/* from sys/systm.h, normally */
	{(long)	&atoi,		"atoi"},
	{(long)	&badaddr,	"badaddr"},
	{(long)	&bcmp,		"bcmp"},
	{(long)	&delay,		"delay"},
	{(long)	&fast_timeout,	"fast_timeout"},
	{(long)	&fastuntimeout_func, "fastuntimeout_func"},
	{(long)	&gencopy,	"gencopy"},
	{(long)	&issplhi,	"issplhi"},
	{(long)	&issplprof,	"issplprof"},
	{(long)	&kern_calloc,	"kern_calloc"},
	{(long)	&kern_free,	"kern_free"},
	{(long)	&kern_malloc,	"kern_malloc"},
	{(long)	&kern_realloc,	"kern_realloc"},
	{(long)	&lbolt,		"lbolt"},
	{(long)	&nonresident,	"nonresident"},
	{(long)	&nulldev,	"nulldev"},
	{(long)	&numtos,	"numtos"},
	{(long)	&panic,		"panic"},
	{(long)	&physmem,	"physmem"},
	{(long)	&preemptchk,	"preemptchk"},
	{(long)	&resident,	"resident"},
	{(long)	&setinfoRunq,	"setinfoRunq"},
	{(long)	&siron,		"siron"},
	{(long)	&siroff,	"siroff"},
	{(long)	&splimp,	"splimp"},
	{(long)	&splnet,	"splnet"},
	{(long)	&splprof,	"splprof"},
	{(long)	&splhi_relnet,	"splhi_relnet"},
	{(long)	&splvme,	"splvme"},
	{(long)	&suser,		"suser"},
	{(long)	&us_delay,	"us_delay"},
	{(long)	&us_delaybus,	"us_delaybus"},
	{(long)	&untimeout_func,"untimeout_func"},

	/* from sys/time.h */
	{(long)	&fastclock,	"fastclock"},
	{(long)	&fastick,	"fastick"},

	/* from sys/types.h */
	/* inb - DDI/DKI */
	/* inl - DDI/DKI */
	/* inw - DDI/DKI */
	/* outb - DDI/DKI */
	/* outl - DDI/DKI */
	/* outw - DDI/DKI */
	/* phystoppid - DDI/DKI */
	/* pptophys - DDI/DKI */
	/* repinsb - DDI/DKI */
	/* repinsd - DDI/DKI */
	/* repinsw - DDI/DKI */
	/* repinsb - DDI/DKI */
	/* repoutsd - DDI/DKI */
	/* repoutsw - DDI/DKI */

	/* from sys/region.h */	
	{(long) &vtop,		"vtop"},		/* DDI/DKI */
	{(long) &v_mapphys,	"v_mapphys"},		/* XXXX */

	/* from sys/uio.h */
	{(long)	&uiomove,	"uiomove"},		/* DDI/DKI */
	{(long)	&ureadc,	"ureadc"},		/* DDI/DKI */
	{(long)	&uwritec,	"uwritec"},		/* DDI/DKI */

#if	!IP22
	/* from sys/vmereg.h */
	{(long)	&vme_ivec_set,	"vme_ivec_set"},
	{(long)	&vme_ivec_alloc,"vme_ivec_alloc"},
	{(long)	&vme_ivec_free, "vme_ivec_free"},
#endif	/* IP22 */

	{(long)	&dotimeout,	"dotimeout"},		/* for kdsp */

	/* function pointers for kdsp driver */
	{(long)	&kdsp_timercallback_ptr,"kdsp_timercallback_ptr"},		/* for kdsp */
#ifdef IP22
	{(long)	&volumectrl_ptr,"volumectrl_ptr"},	/* for kdsp */
	{(long) &_hpc3_write1, "_hpc3_write1"},		/* for ISDN reset */
#endif

	/* misc error and printing routines */
	/* from sys/cmn_err.h, normally */
#ifdef	DEBUG
	{(long)	&assfail,	"assfail"},
	{(long)	&doass,		"doass"},
#endif	/* DEBUG */
	{(long)	&cmn_err,	"cmn_err"},		/* DDI/DKI */
	{(long)	&icmn_err,	"icmn_err"},
	{(long)	&printf,	"printf"},
	{(long)	&sprintf,	"sprintf"},
	{(long)	&vsprintf,	"vsprintf"},

	/* misc */
	{(long)	&tpsctapetype,	"tpsctapetype"},	/* io/tpscutil.c */
	{(long)	&loif,		"loif"},		/* bsd/net/if_loop.c */
	{(long)	&ifnet,		"ifnet"},		/* bsd/net/if.c */
	{(long)	&netisr,	"netisr"},		/* bsd/net/netisr.c */

	{(long)	&useracc,	"useracc"},
	{(long)	&unuseracc,	"unuseracc"},
	{(long)	&flushbus,	"flushbus"},

	/* misc machine-dependent */
#if	defined(IP22)
	{(long)	&is_fullhouse,	"is_fullhouse"},
	{(long)	&splhintr,	"splhintr"},
	{(long)	&sethpcdmaintr,	"sethpcdmaintr"},
	{(long)	&hpcdma_intr,	"hpcdma_intr"},
#endif	/* IP22 */

	/*
	 * Symbol table entries for loadable modules that contain globals
	 * in their master.d files or entries for modules that export
	 * symbols for loadable modules.
	 */

