Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 19:40:16 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 78645 for review
Message-ID:  <200506161940.j5GJeG16045731@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78645

Change 78645 by jhb@jhb_slimer on 2005/06/16 19:40:11

	Revert this hack as it didn't fix the PnP BIOS problem.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/locore.s#26 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/locore.s#26 (text+ko) ====

@@ -783,24 +783,9 @@
 	movl	$1,%ecx
 	fillkptphys(%edx)
 
-#define	BIOS_START	0xc0000
-#define	BIOS_END	0xfffff
-
-/* Map read-only from page 1 to the beginning of BIOS */
+/* Map read-only from page 1 to the beginning of the kernel text section */
 	movl	$PAGE_SIZE, %eax
 	xorl	%edx,%edx
-	movl	$(BIOS_START - PAGE_SIZE)/PAGE_SIZE,%ecx
-	fillkptphys(%edx)
-
-/* Map the BIOS read-write for BIOS calls that want to write to it */
-	movl	$BIOS_START, %eax	
-	movl	$PG_RW,%edx
-	movl	$(BIOS_END + 1 - BIOS_START)/PAGE_SIZE,%ecx
-	fillkptphys(%edx)
-
-/* Map read-only from the BIOS to the beginning of the kernel text section */
-	movl	$BIOS_END + 1, %eax
-	xorl	%edx,%edx
 	movl	$R(btext),%ecx
 	addl	$PAGE_MASK,%ecx
 	subl	%eax,%ecx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506161940.j5GJeG16045731>