PERFORCE change 109166 for review
John Birrell
jb at FreeBSD.org
Fri Nov 3 23:09:12 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109166
Change 109166 by jb at jb_freebsd8 on 2006/11/03 23:08:19
Reset to match current.
Affected files ...
.. //depot/projects/dtrace/src/sys/dev/dcons/dcons.h#5 edit
.. //depot/projects/dtrace/src/sys/dev/ofw/ofw_console.c#6 edit
.. //depot/projects/dtrace/src/sys/dev/uart/uart_tty.c#5 edit
.. //depot/projects/dtrace/src/sys/gdb/gdb_cons.c#5 edit
Differences ...
==== //depot/projects/dtrace/src/sys/dev/dcons/dcons.h#5 (text+ko) ====
@@ -101,7 +101,6 @@
int dcons_checkc(struct dcons_softc *);
int dcons_ischar(struct dcons_softc *);
void dcons_putc(struct dcons_softc *, int);
-void dcons_puts(struct dcons_softc *, char *, int);
int dcons_load_buffer(struct dcons_buf *, int, struct dcons_softc *);
void dcons_init(struct dcons_buf *, int, struct dcons_softc *);
#endif
==== //depot/projects/dtrace/src/sys/dev/ofw/ofw_console.c#6 (text+ko) ====
@@ -78,7 +78,6 @@
static cn_term_t ofw_cnterm;
static cn_getc_t ofw_cngetc;
static cn_putc_t ofw_cnputc;
-static cn_puts_t ofw_cnputs;
CONSOLE_DRIVER(ofw);
@@ -290,17 +289,6 @@
}
static void
-ofw_cnputs(struct consdev *cp, char *p, int num)
-{
- int i;
- for (i = 0; i < num; i++) {
- if (p[i] == '\n')
- ofw_cnputc(cp, '\r');
- ofw_cnputc(cp, p[i] & 0xff);
- }
-}
-
-static void
ofw_cnputc(struct consdev *cp, int c)
{
char cbuf;
==== //depot/projects/dtrace/src/sys/dev/uart/uart_tty.c#5 (text+ko) ====
@@ -55,7 +55,6 @@
static cn_term_t uart_cnterm;
static cn_getc_t uart_cngetc;
static cn_putc_t uart_cnputc;
-static cn_puts_t uart_cnputs;
CONSOLE_DRIVER(uart);
@@ -110,14 +109,6 @@
}
static void
-uart_cnputs(struct consdev *cp, char *p, int num)
-{
- int i;
- for (i = 0; i < num; i++)
- uart_putc(cp->cn_arg, p[i] & 0xff);
-}
-
-static void
uart_cnputc(struct consdev *cp, int c)
{
==== //depot/projects/dtrace/src/sys/gdb/gdb_cons.c#5 (text) ====
@@ -159,18 +159,6 @@
}
}
-static void
-gdb_cnputs(struct consdev *cp, char *p, int num)
-{
- int i;
-
- for (i = 0; i < num; i++) {
- if (p[i] == '\n')
- gdb_cnputc(cp, '\r');
- gdb_cnputc(cp, p[i] & 0xff);
- }
-}
-
CONSOLE_DRIVER(gdb);
/*
More information about the p4-projects
mailing list