#ifdeffed out some debug code
This commit is contained in:
parent
e47299045c
commit
dc410a6245
|
|
@ -166,6 +166,7 @@ PUBLIC void main(void)
|
||||||
register struct proc *rp;
|
register struct proc *rp;
|
||||||
register tty_t *tp;
|
register tty_t *tp;
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
kputc('H');
|
kputc('H');
|
||||||
kputc('e');
|
kputc('e');
|
||||||
kputc('l');
|
kputc('l');
|
||||||
|
|
@ -174,6 +175,7 @@ PUBLIC void main(void)
|
||||||
kputc(',');
|
kputc(',');
|
||||||
kputc(' ');
|
kputc(' ');
|
||||||
printf("TTY\n");
|
printf("TTY\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Initialize the TTY driver. */
|
/* Initialize the TTY driver. */
|
||||||
tty_init();
|
tty_init();
|
||||||
|
|
@ -1571,7 +1573,9 @@ PRIVATE void tty_init()
|
||||||
if (sigaction(SIGKMESS,&sa,NULL)<0) panic("TTY","sigaction failed", errno);
|
if (sigaction(SIGKMESS,&sa,NULL)<0) panic("TTY","sigaction failed", errno);
|
||||||
if (sigaction(SIGKSTOP,&sa,NULL)<0) panic("TTY","sigaction failed", errno);
|
if (sigaction(SIGKSTOP,&sa,NULL)<0) panic("TTY","sigaction failed", errno);
|
||||||
#endif
|
#endif
|
||||||
|
#if DEBUG
|
||||||
printf("end of tty_init\n");
|
printf("end of tty_init\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user