Date: Fri, 4 Apr 2003 23:03:11 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 28189 for review Message-ID: <200304050703.h3573BiU023925@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28189 Change 28189 by peter@peter_overcee on 2003/04/04 23:02:12 Hook up level 3 and level 4 page directory glue (stolen from Jake's PAE diffs) Affected files ... .. //depot/projects/hammer/sys/x86_64/x86_64/locore.s#23 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/x86_64/locore.s#23 (text+ko) ==== @@ -298,9 +298,10 @@ movl %esi,R(KPTphys) /* Allocate Page Table Directory */ - /* XXX only need 32 bytes (easier for now) */ ALLOCPAGES(1) movl %esi,R(IdlePML4) + ALLOCPAGES(1) + movl %esi,R(IdlePDP) ALLOCPAGES(NPGPTD) movl %esi,R(IdlePTD) @@ -338,6 +339,10 @@ movl $1, %ecx fillkptphys($PG_RW) + movl R(IdlePDP), %eax + movl $1, %ecx + fillkptphys($PG_RW) + movl R(IdlePTD), %eax movl $NPGPTD, %ecx fillkptphys($PG_RW) @@ -378,6 +383,11 @@ movl R(IdlePTD), %eax xorl %ebx, %ebx movl $NPGPTD, %ecx + fillkpt(R(IdlePDP), $0x0) + + movl R(IdlePDP), %eax + xorl %ebx, %ebx + movl $1, %ecx fillkpt(R(IdlePML4), $0x0) ret
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304050703.h3573BiU023925>