PERFORCE change 78645 for review
John Baldwin
jhb at FreeBSD.org
Thu Jun 16 19:40:17 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=78645
Change 78645 by jhb at 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
More information about the p4-projects
mailing list