Displaying 2 results from an estimated 2 matches for "pmap_kextract".
2013 Nov 09
1
10.0 BETA 3 with redports kernel panic
The redbuild boxes for redports are doing a very good and reliable job
getting kernel panics out of 10.0:
http://people.freebsd.org/~sbruno/redbuild_panic.txt
Pretty frequent and pretty nasty. Happening on multiple machines under
load.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc:
2003 Aug 22
3
PAE removal patch for testing
...ifdef PAE
-extern pdpt_entry_t IdlePDPT[];
-#endif
+extern pd_entry_t IdlePTD; /* physical address of "Idle" state directory */
#endif
#ifdef _KERNEL
@@ -176,6 +162,8 @@
*/
#define vtopte(va) (PTmap + i386_btop(va))
+#define avtopte(va) (APTmap + i386_btop(va))
+
/*
* Routine: pmap_kextract
* Function:
@@ -186,17 +174,22 @@
pmap_kextract(vm_offset_t va)
{
vm_paddr_t pa;
-
- if ((pa = PTD[va >> PDRSHIFT]) & PG_PS) {
+ if ((pa = (vm_offset_t) PTD[va >> PDRSHIFT]) & PG_PS) {
pa = (pa & ~(NBPDR - 1)) | (va & (NBPDR - 1));
} else {
- pa = *vtopte(va)...