MCPcopy Create free account
hub / github.com/F-Stack/f-stack / termcn_cnprobe

Function termcn_cnprobe

freebsd/kern/subr_terminal.c:567–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567static void
568termcn_cnprobe(struct consdev *cp)
569{
570 struct terminal *tm = cp->cn_arg;
571
572 if (tm == NULL) {
573 cp->cn_pri = CN_DEAD;
574 return;
575 }
576
577 tm->consdev = cp;
578 terminal_init(tm);
579
580 tm->tm_class->tc_cnprobe(tm, cp);
581}
582
583static void
584termcn_cninit(struct consdev *cp)

Callers

nothing calls this directly

Calls 1

terminal_initFunction · 0.85

Tested by

no test coverage detected