Plan 9 from Bell Labs’s /n/sources/patch/applied/cons-drivers/files
/sys/src/9/port/devcons.c devcons.c