Displaying 2 results from an estimated 2 matches for "vtopt".
Did you mean:
vtop
2003 Aug 22
3
PAE removal patch for testing
...nterface.c
--- /usr/src/sys.old/i386/i386/db_interface.c Thu Aug 21 18:35:33 2003
+++ /usr/src/sys/i386/i386/db_interface.c Fri Aug 22 02:15:24 2003
@@ -251,7 +251,7 @@
if (addr > trunc_page((vm_offset_t)btext) - size &&
addr < round_page((vm_offset_t)etext)) {
- ptep0 = vtopte(addr);
+ ptep0 = pmap_pte(kernel_pmap, addr);
oldmap0 = *ptep0;
*ptep0 |= PG_RW;
@@ -259,14 +259,14 @@
if ((*ptep0 & PG_PS) == 0) {
addr1 = trunc_page(addr + size - 1);
if (trunc_page(addr) != addr1) {
- ptep1 = vtopte(addr1);
+ ptep1 = pmap_pte(...
2003 Sep 08
1
ports/55928: vmware2 broken on -STABLE, presumably by PAE import
...tch-stable Mon Sep 8 09:17:55 2003
@@ -0,0 +1,16 @@
+--- vmmon-only/freebsd/hostif.c.orig Mon Sep 8 09:10:39 2003
++++ vmmon-only/freebsd/hostif.c Mon Sep 8 09:11:28 2003
+@@ -181,11 +181,11 @@
+ {
+ #define DEB(x)
+ caddr_t addr = (caddr_t)VPN_2_VA(ppn);
+- pt_entry_t pteptr = (pt_entry_t)vtopte(addr);
++ pt_entry_t pteptr = (pt_entry_t)vtopte((unsigned long) addr);
+ PTE pte;
+
+ DEB(printf("FindMPN: for page %d address %p(phys %p) pteptr %p", ppn, addr, (caddr_t)vtophys(addr), pteptr));
+- pte=*pteptr;
++ pte=*((caddr_t)pteptr);
+ DEB(printf("(0x%08x)\n&qu...