Beispiel #1
0
/* Completely turn off the uart.  No more interrupts should be generated
    or anything. Called by uart_close(). */
void uart_hw_disable(PUART_INFO uinfo) {
  KS_INTERRUPT_CONTEXT sp;    /* We'll be push/popping interrupts */
  sp = ks_splx( );
  ks_spl( sp );
  uinfo = uinfo;
  while ( 1 );
}
Beispiel #2
0
/*----------------------------------------------------------------------*
                          rtp_irq_push_disable
 *----------------------------------------------------------------------*/
RTP_HANDLE rtp_irq_push_disable (void)
{
	return ((RTP_HANDLE)ks_splx( ));
}