Example #1
0
bool_t
xsns_xpn(void *p_excinf)
{
	bool_t	state;

	LOG_XSNS_XPN_ENTER(p_excinf);
	state = (exc_sense_unlock(p_excinf)
				&& p_runtsk != NULL && p_runtsk->enatex) ? false : true;
	LOG_XSNS_XPN_LEAVE(state);
	return(state);
}
Example #2
0
bool_t
xsns_xpn(void *p_excinf)
{
	bool_t	state;
	PCB		*my_p_pcb;
	TCB		*p_runtsk;

	LOG_XSNS_XPN_ENTER(p_excinf);
	my_p_pcb = get_my_p_pcb();
	p_runtsk = my_p_pcb->p_runtsk;
	state = (exc_sense_unlock(p_excinf) && p_runtsk->enatex) ? false : true;
	LOG_XSNS_XPN_LEAVE(state);
	return(state);
}