FreeBSD/sys/sparc64/sparc64/trap.c
/*
 * SUNW,set-trap-table allows to take over %tba from the PROM, which
 * will turn off interrupts and handle outstanding ones while doing so,
 * in a safe way.
 */
SUNW,set-trap-table allows to take over %tba from the PROM, which
will turn off interrupts and handle outstanding ones while doing so,
in a safe way.
SUNW set - trap - table allows to take over %tba from the PROM which will turn off interrupts and handle outstanding ones while doing so in a safe way .
void
sun4u_set_traptable(void *tba_addr)
{
	static struct {
		cell_t name;
		cell_t nargs;
		cell_t nreturns;
		cell_t tba_addr;
	} args = {
		(cell_t)"SUNW,set-trap-table",
		1,
		0,
	};
	args.tba_addr = (cell_t)tba_addr;
	ofw_entry(&args);
}
void sun4u_set_traptable ( void * tba_addr ) { static struct { cell_t name ; cell_t nargs ; cell_t nreturns ; cell_t tba_addr ; } args = { ( cell_t ) " " , 1 , 0 , } ; args . tba_addr = ( cell_t ) tba_addr ; ofw_entry ( & args ) ; }
SUNW,set-trap-table allows to take over %tba from the PROM, which
 will turn off interrupts and handle outstanding ones while doing so,
 in a safe way.
SUNW set - trap - table allows to take over %tba from the PROM which will turn off interrupts and handle outstanding ones while doing so in a safe way .