hppa locore diff

Mark Kettenis <[email protected]> Sun, 15 Jul 2007 23:16:49 +0200 (CEST)
Newsgroups gmane.os.openbsd.hppa,gmane.os.openbsd.tech
Message-ID <[email protected]>
This diff is needed to support the lcd display on the four-digit
B/C/J-class hppa workstations.  However, since this might break other
systems, I'd appreciate it if people can give it a try on their
PA-RISC 2.0 systems.  There's no need to test this on (older) PA-RISC
1.1 systems, since this code doesn't get executed on those.

Thanks,

Mark


Index: locore.S
===================================================================
RCS file: /cvs/src/sys/arch/hppa/hppa/locore.S,v
retrieving revision 1.154
diff -u -p -r1.154 locore.S
--- locore.S	26 May 2007 00:36:03 -0000	1.154
+++ locore.S	15 Jul 2007 20:15:06 -0000
@@ -1481,7 +1481,7 @@ EXIT($dtlb_l)
 		/* fix prom mappings */		! \
 	extrd,s	r17, 46, 8, r1			! \
 	addi,<>	0x10, r1, r0			! \
-	depdi	0, 42, 8, r17			! \
+	depdi	0, 38, 4, r17			! \
 		/* weak ordering, dyn bp */	! \
 	depwi	1, 31, 2, r16			! \
 	depdi	0, 44, 30, r25			! \