search for: kptphys

Displaying 2 results from an estimated 2 matches for "kptphys".

2003 Aug 22
2
kernel: locore.s doesn't assemble (fillkpt, $PAGE_SHIFT, $PTESHIFT)
since august 8th, 2003 the kernel on my i386 pentiumIII won't compile. the problem arises in locore.s with the definition of the constants $PAGE_SHIFT and $PTESHIFT used in `shr' and `shl' instructions within the macros `fillkpt' and `fillkptphys'. i've tried to cvsup(1) RELENG_4 and RELENG_4_8 every day for over a week now, but kernel builds (as part of a buildworld) don't work anymore. i have set up an area different from the usual /usr/obj/, so i can experiment. if somebody has tips for me, i could do a lot without destroy...
2003 Aug 22
3
PAE removal patch for testing
...Pptpa: .long 0 /* phys addr SMP page table */ _SMPpt: .long 0 /* relocated version */ #endif /* SMP */ @@ -120,12 +128,6 @@ .globl _IdlePTD _IdlePTD: .long 0 /* phys addr of kernel PTD */ -#ifdef PAE - .globl _IdlePDPT - .p2align 5 -_IdlePDPT: .space 32 -#endif - #ifdef SMP .globl _KPTphys #endif @@ -181,13 +183,13 @@ * prot = protection bits */ #define fillkpt(base, prot) \ - shll $PTESHIFT,%ebx ; \ + shll $2,%ebx ; \ addl base,%ebx ; \ orl $PG_V,%eax ; \ orl prot,%eax ; \ 1: movl %eax,(%ebx) ; \ addl $PAGE_SIZE,%eax ; /* increment physical address */ \ - a...