Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/stand/pbsdboot enable TX3922 write-back cache.



details:   https://anonhg.NetBSD.org/src/rev/dd785f767847
branches:  trunk
changeset: 480620:dd785f767847
user:      uch <uch%NetBSD.org@localhost>
date:      Sun Jan 16 23:30:13 2000 +0000

description:
enable TX3922 write-back cache.
flip Telios fg/bg color.

diffstat:

 sys/arch/hpcmips/stand/pbsdboot/main.c   |   6 +++---
 sys/arch/hpcmips/stand/pbsdboot/tx39xx.c |  13 ++-----------
 2 files changed, 5 insertions(+), 14 deletions(-)

diffs (54 lines):

diff -r dfc1016e9fca -r dd785f767847 sys/arch/hpcmips/stand/pbsdboot/main.c
--- a/sys/arch/hpcmips/stand/pbsdboot/main.c    Sun Jan 16 23:18:56 2000 +0000
+++ b/sys/arch/hpcmips/stand/pbsdboot/main.c    Sun Jan 16 23:30:13 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.21 2000/01/16 03:07:32 takemura Exp $       */
+/*     $NetBSD: main.c,v 1.22 2000/01/16 23:30:13 uch Exp $    */
 
 /*-
  * Copyright (c) 1999 Shin Takemura.
@@ -199,7 +199,7 @@
        { TEXT("Victor InterLink MP-C101"), BIFB_D16_0000,
                640, 480, 0, 0,
                PLATID_CPU_MIPS_TX_3922, PLATID_MACH_VICTOR_INTERLINK_MPC101},
-       { TEXT("Sharp Telios HC-AJ1"), BIFB_D16_0000,
+       { TEXT("Sharp Telios HC-AJ1"), BIFB_D16_FFFF,
                800, 600, 0, 0,
                PLATID_CPU_MIPS_TX_3922, PLATID_MACH_SHARP_TELIOS_HCAJ1},
        { TEXT("Sharp Mobilon HC-4100"), BIFB_D2_M2L_0, /* XXX 4bit greyscale */
@@ -443,7 +443,7 @@
        case WM_INITDIALOG:
                SetDlgItemText(hWnd, IDC_ABOUT_EDIT,
                               TEXT("PocketBSD boot loader\r\n")
-                              TEXT("Version 1.8.1 2000.01.08\r\n")
+                              TEXT("Version 1.9 2000.01.17\r\n")
                               TEXT("\r\n")
                               TEXT("Copyright(C) 1999 Shin Takemura,\r\n")
                               TEXT("All rights reserved.\r\n")
diff -r dfc1016e9fca -r dd785f767847 sys/arch/hpcmips/stand/pbsdboot/tx39xx.c
--- a/sys/arch/hpcmips/stand/pbsdboot/tx39xx.c  Sun Jan 16 23:18:56 2000 +0000
+++ b/sys/arch/hpcmips/stand/pbsdboot/tx39xx.c  Sun Jan 16 23:30:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tx39xx.c,v 1.4 2000/01/16 11:14:49 uch Exp $ */
+/* $NetBSD: tx39xx.c,v 1.5 2000/01/16 23:30:13 uch Exp $ */
 
 /*-
  * Copyright (c) 1999 Shin Takemura, UCHIYAMA Yasushi
@@ -144,16 +144,7 @@
                "nop;"
                "mtc0   zero, $12;"
                "nop;"
-               /* 
-                * XXX Disable TX3922 write-back mode. for TX3912, no meaning. 
-                * XXX Should be removed 
-                */
-               "mfc0   t0, $3;"
-               "nop;"
-               "li     t1, 0xffffdfff;"
-               "and    t0, t0, t1;"
-               "mtc0   t0, $3;"
-               "nop;nop;nop;nop;"
+
                /*
                 * Copy kernel to bootaddr
                 */



Home | Main Index | Thread Index | Old Index