mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Previous commit missed a 1 that should be NGPTD, and an NPDEPG that should
be NPDEPTD. Grumble. Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
71655cc2c9
commit
ef49a94104
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111372
@ -108,6 +108,7 @@ ASSYM(KSTACK_PAGES, KSTACK_PAGES);
|
||||
ASSYM(PAGE_SIZE, PAGE_SIZE);
|
||||
ASSYM(NPTEPG, NPTEPG);
|
||||
ASSYM(NPDEPG, NPDEPG);
|
||||
ASSYM(NPDEPTD, NPDEPTD);
|
||||
ASSYM(NPGPTD, NPGPTD);
|
||||
ASSYM(PDESIZE, sizeof(pd_entry_t));
|
||||
ASSYM(PTESIZE, sizeof(pt_entry_t));
|
||||
|
@ -886,7 +886,7 @@ no_kernend:
|
||||
/* install a pde recursively mapping page directory as a page table */
|
||||
movl R(IdlePTD), %eax
|
||||
movl $PTDPTDI, %ebx
|
||||
movl $1,%ecx
|
||||
movl $NPGPTD,%ecx
|
||||
fillkpt(R(IdlePTD), $PG_RW)
|
||||
|
||||
ret
|
||||
|
@ -886,7 +886,7 @@ no_kernend:
|
||||
/* install a pde recursively mapping page directory as a page table */
|
||||
movl R(IdlePTD), %eax
|
||||
movl $PTDPTDI, %ebx
|
||||
movl $1,%ecx
|
||||
movl $NPGPTD,%ecx
|
||||
fillkpt(R(IdlePTD), $PG_RW)
|
||||
|
||||
ret
|
||||
|
@ -115,7 +115,7 @@
|
||||
*
|
||||
* SMP_PRIVPAGES: The per-cpu address space is 0xff80000 -> 0xffbfffff
|
||||
*/
|
||||
#define APTDPTDI (NPDEPG-NPGPTD) /* alt ptd entry that points to APTD */
|
||||
#define APTDPTDI (NPDEPTD-NPGPTD) /* alt ptd entry that points to APTD */
|
||||
#ifdef SMP
|
||||
#define MPPTDI (APTDPTDI-1) /* per cpu ptd entry */
|
||||
#define KPTDI (MPPTDI-NKPDE) /* start of kernel virtual pde's */
|
||||
|
@ -108,6 +108,7 @@ ASSYM(KSTACK_PAGES, KSTACK_PAGES);
|
||||
ASSYM(PAGE_SIZE, PAGE_SIZE);
|
||||
ASSYM(NPTEPG, NPTEPG);
|
||||
ASSYM(NPDEPG, NPDEPG);
|
||||
ASSYM(NPDEPTD, NPDEPTD);
|
||||
ASSYM(NPGPTD, NPGPTD);
|
||||
ASSYM(PDESIZE, sizeof(pd_entry_t));
|
||||
ASSYM(PTESIZE, sizeof(pt_entry_t));
|
||||
|
@ -886,7 +886,7 @@ no_kernend:
|
||||
/* install a pde recursively mapping page directory as a page table */
|
||||
movl R(IdlePTD), %eax
|
||||
movl $PTDPTDI, %ebx
|
||||
movl $1,%ecx
|
||||
movl $NPGPTD,%ecx
|
||||
fillkpt(R(IdlePTD), $PG_RW)
|
||||
|
||||
ret
|
||||
|
@ -115,7 +115,7 @@
|
||||
*
|
||||
* SMP_PRIVPAGES: The per-cpu address space is 0xff80000 -> 0xffbfffff
|
||||
*/
|
||||
#define APTDPTDI (NPDEPG-NPGPTD) /* alt ptd entry that points to APTD */
|
||||
#define APTDPTDI (NPDEPTD-NPGPTD) /* alt ptd entry that points to APTD */
|
||||
#ifdef SMP
|
||||
#define MPPTDI (APTDPTDI-1) /* per cpu ptd entry */
|
||||
#define KPTDI (MPPTDI-NKPDE) /* start of kernel virtual pde's */
|
||||
|
Loading…
Reference in New Issue
Block a user