diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2017-03-10 10:25:48 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2017-03-10 10:25:48 +0000 |
| commit | 1b835e81ca63db8b95d4b8073da34d22b643d29c (patch) | |
| tree | 150d84b7febe3b68618fbfacce9d366172351f94 /sys/dev/syscons/syscons.c | |
| parent | 32a1fb0d3d0d193d9f8c618d4464d472e894318c (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/syscons.c')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 75a0f6ec08b9..d2994676006c 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -277,7 +277,9 @@ static u_int ec_scroffset; * set (likely non-fake) graphics mode to get a null initial ec_putc(). */ static scr_stat fake_main_console = { +#ifndef __sparc64__ .scr.vtb_buffer = 0xb8000, +#endif .xsize = 80, .ysize = 25, #if !defined(__amd64__) && !defined(__i386__) @@ -290,6 +292,7 @@ static scr_stat fake_main_console = { static void ec_putc(int c) { +#ifndef __sparc64__ u_short *scrptr; u_int ind; int attr, column, mysize, width, xsize, yborder, ysize; @@ -321,6 +324,7 @@ ec_putc(int c) do scrptr[ind++ % mysize] = (attr << 8) | c; while (--width != 0); +#endif /* !__sparc64__ */ } #undef main_console |
