From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Feb  5 05:09:06 1997
Received: by jaz.jp.freebsd.org (8.8.5+2.7Wbeta5/8.7.3) id FAA22551
	Wed, 5 Feb 1997 05:09:06 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.5+2.7Wbeta5/8.7.3) with SMTP id FAA22527
	for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 5 Feb 1997 05:09:03 +0900 (JST)
Received: from localhost (localhost [127.0.0.1]) by th.phys.titech.ac.jp (8.6.10+2.4W/3.3W-PhysTh1.5s) with SMTP id FAA26276 for <FreeBSD-users-jp@jp.freebsd.org>; Wed, 5 Feb 1997 05:09:06 +0900
Message-Id: <199702042009.FAA26276@th.phys.titech.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-reply-to: Your message of "Wed, 05 Feb 1997 00:09:51 JST."
             <199702041509.AAA25625@th.phys.titech.ac.jp> 
Date: Wed, 05 Feb 1997 05:09:05 +0900
From: Takashi Inoue <tinoue@th.phys.titech.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 9448
Subject: [FreeBSD-users-jp 9448] Re: EUD-HP(MELCO) 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org


  $B0f>e!wEl9)Bg$G$9!#(B

>> $B$b$7;d$N4*0c$$$G$7$?$i!"$3$NJU$j$N$3$H$r;n$7$F$_$?$$$H;W$$(B
>> $B$^$9$N$G!";d$K$b>\$7$/65$($F$$$?$@$1$^$;$s$+(B?
>> $B$h$m$7$/$*4j$$$$$?$7$^$9!#(B

$B;d(B>  $B$=$l$G$b$h$m$7$$$G$9$+!)(B
$B;d(B>  $B%Y!<%9$,(B FA $B$G$O0UL#$,$J$$5$$,$7$^$9!#(B
$B;d(B>  $BNI$/$O$o$+$j$^$;$s$,!#(B
$B;d(B>  $B$=$l$G$h$m$7$1$l$P$*Aw$j$7$^$9!#(B

  $B$3$&=q$-$^$7$?$,!"(B
  $B:#$OFCJL$K%*%W%7%g%s$rIU$1$F$J$/$F!"$=$l$GCY$$$N$G$9$h$M!#(B
  $B$=$l$G$7$?$i;n$7$K$d$C$F8+$k$N$b$$$$$+$bCN$l$^$;$s$M!#(B

  $B<!$N%Q%C%A$G(B /usr/src/sys/pc98/i386/locore.s $B$r=q$-49$($F!"(B
    ( #cd /usr/src/sys/pc98/i386 )
    ( #patch < file              )
  options	CACHE_ON
  $B$D$-$F(B kernel $B$r:n$C$F8+$F$/$@$5$$!#(B
    
  $B0f>e(B $B5.;K(B


--- locore.s.orig	Tue Feb  4 10:55:08 1997
+++ locore.s	Wed Feb  5 04:35:49 1997
@@ -829,6 +829,19 @@
 
 	pushl	%esi				/* value of first for init386(first) */
 	call	_init386			/* wire 386 chip for unix operation */
+#if defined(CACHE_ON) 
+	/* for only make cashe bit on */
+	cli
+	movl	%cr0,%eax
+	orl	$0x40000000,%eax	/* disable cache */
+	mov	%eax,%cr0
+	.byte	0x0f,0x08	/* invd */
+
+	movl	%cr0,%eax
+	andl	$0x9fffffff,%eax	/* enable cache !! */
+	movl	%eax,%cr0
+	sti
+#endif
 #if defined(CYRIX_486DLC) && defined(I486_CPU)
 	/* Cyrix 486DLC/SLC/DLC2/SLC2 CPU */
 	cli

