| 295 | rt_err_t lwp_console_register_backend(struct rt_device *bakdev, int prio); |
| 296 | |
| 297 | rt_inline int ttydevsw_open(struct lwp_tty *tp) |
| 298 | { |
| 299 | tty_assert_locked(tp); |
| 300 | MPASS(!tty_gone(tp)); |
| 301 | |
| 302 | return (tp->t_devsw->tsw_open(tp)); |
| 303 | } |
| 304 | |
| 305 | rt_inline void ttydevsw_close(struct lwp_tty *tp) |
| 306 | { |