From 4a7472ce04e2a686e35c9c6959ec84310802557e Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 6 Nov 1994 00:30:16 +0000 Subject: [PATCH] The style in my patch011 is inconsistent and out of date. It should have been changed _before_ committing the patch. --- sys/dev/syscons/syscons.c | 4 ++-- sys/i386/isa/syscons.c | 4 ++-- sys/isa/syscons.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 0421762bc98c..a5b6577b0a50 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.74 1994/10/27 05:47:09 phk Exp $ + * $Id: syscons.c,v 1.75 1994/11/03 11:40:01 ache Exp $ */ #include "sc.h" @@ -2155,7 +2155,7 @@ scinit(void) scp->ysize = ROW; scp->bell_pitch = BELL_PITCH; scp->bell_duration = BELL_DURATION; - scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0; + scp->status = (*(char *)pa_to_va(0x417) & 0x20) ? NLKED : 0; scp->pid = 0; scp->proc = NULL; scp->smode.mode = VT_AUTO; diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c index 0421762bc98c..a5b6577b0a50 100644 --- a/sys/i386/isa/syscons.c +++ b/sys/i386/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.74 1994/10/27 05:47:09 phk Exp $ + * $Id: syscons.c,v 1.75 1994/11/03 11:40:01 ache Exp $ */ #include "sc.h" @@ -2155,7 +2155,7 @@ scinit(void) scp->ysize = ROW; scp->bell_pitch = BELL_PITCH; scp->bell_duration = BELL_DURATION; - scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0; + scp->status = (*(char *)pa_to_va(0x417) & 0x20) ? NLKED : 0; scp->pid = 0; scp->proc = NULL; scp->smode.mode = VT_AUTO; diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index 0421762bc98c..a5b6577b0a50 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: syscons.c,v 1.74 1994/10/27 05:47:09 phk Exp $ + * $Id: syscons.c,v 1.75 1994/11/03 11:40:01 ache Exp $ */ #include "sc.h" @@ -2155,7 +2155,7 @@ scinit(void) scp->ysize = ROW; scp->bell_pitch = BELL_PITCH; scp->bell_duration = BELL_DURATION; - scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0; + scp->status = (*(char *)pa_to_va(0x417) & 0x20) ? NLKED : 0; scp->pid = 0; scp->proc = NULL; scp->smode.mode = VT_AUTO;