summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/console.c
diff options
context:
space:
mode:
authorrui zang - Sun Microsystems - Beijing China <Aaron.Zang@Sun.COM>2008-09-25 14:01:48 +0800
committerrui zang - Sun Microsystems - Beijing China <Aaron.Zang@Sun.COM>2008-09-25 14:01:48 +0800
commitaecfc01d1bad84e66649703f7fc2926ef70b34ba (patch)
tree30d7ae76f4cff7994f216c9e89819dda18b2ae63 /usr/src/uts/common/os/console.c
parentf4565e39fe75b2c28258c16bc697741760935002 (diff)
downloadillumos-gate-aecfc01d1bad84e66649703f7fc2926ef70b34ba.tar.gz
PSARC 2006/591 Virtual Console
PSARC 2008/515 Virtual Console Update 4309501 Need additional local 'terminal' --HG-- rename : usr/src/uts/intel/sys/kd.h => usr/src/uts/common/sys/kd.h
Diffstat (limited to 'usr/src/uts/common/os/console.c')
-rw-r--r--usr/src/uts/common/os/console.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/usr/src/uts/common/os/console.c b/usr/src/uts/common/os/console.c
index 91f5de218d..9145eaf808 100644
--- a/usr/src/uts/common/os/console.c
+++ b/usr/src/uts/common/os/console.c
@@ -20,12 +20,10 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/varargs.h>
#include <sys/modctl.h>
@@ -168,32 +166,6 @@ console_rele(void)
rw_exit(&console_lock);
}
-#ifdef _HAVE_TEM_FIRMWARE
-/*
- * This routine exists so that prom_write() can redirect writes
- * to the framebuffer through the kernel terminal emulator, if
- * that configuration is selected during consconfig.
- * When the kernel terminal emulator is enabled, consconfig_dacf
- * sets up the PROM output redirect vector to enter this function.
- * During panic the console will already be powered up as part of
- * calling into the prom_*() layer.
- */
-ssize_t
-console_prom_write_cb(promif_redir_arg_t arg, uchar_t *s, size_t n)
-{
- struct tem *tem = (struct tem *)arg;
-
- ASSERT(consmode == CONS_KFB);
-
- if (panicstr)
- polled_io_cons_write(s, n);
- else
- tem->cons_wrtvec(tem, s, n, kcred);
-
- return (n);
-}
-#endif /* _HAVE_TEM_FIRMWARE */
-
static void
console_getprop(dev_t dev, dev_info_t *dip, char *name, ushort_t *sp)
{