~kris/9p

9hist

fc7f921b07038f3e6de02ff7ac2c6009c27c7b85 — David du Colombier 32 years ago e62f017
Plan 9 from Bell Labs 1994-08-19
2 files changed, 2 insertions(+), 4 deletions(-)

M pc/mmu.c
M port/page.c
M pc/mmu.c => pc/mmu.c +1 -3
@@ 151,9 151,7 @@ mmuinit(void)

	/*  map all memory to KZERO (add some address space for ISA memory) */
	isamemalloc.addr = conf.topofmem;
	isamemalloc.end = conf.topofmem + ISAMEMSIZE;
	if(isamemalloc.end > 64*MB)
		isamemalloc.end = 64*MB;	/* ISA can only access 64 meg */
	isamemalloc.end = 64*MB;
	npage = isamemalloc.end/BY2PG;
	nbytes = PGROUND(npage*BY2WD);		/* words of page map */
	nkpt = nbytes/BY2PG;			/* pages of page map */

M port/page.c => port/page.c +1 -1
@@ 331,7 331,7 @@ uncachepage(Page *p)			/* Always called with a locked page */
{
	Page **l, *f;

	if(p->image == 0 || p->image->notext)
	if(p->image == 0)
		return;

	lock(&palloc.hashlock);