Notify UVM subsystem about our page size in pmap_init().

Some MI code needs it (Linux emulation, sysctl and the like).
Thanks to Izumi Tsutsui for pointing it.
This commit is contained in:
aymeric 2001-01-13 11:31:04 +00:00
parent 769f751499
commit edecf4bc97

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.79 2000/09/13 15:00:16 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.80 2001/01/13 11:31:04 aymeric Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -704,6 +704,9 @@ pmap_init()
DCIS();
}
#endif
uvmexp.pagesize = NBPG;
uvm_setpagesize();
}
struct pv_entry *