Print the size of address translation table in hex.
Use plural "pages", "bytes".
This commit is contained in:
parent
df4822d1f0
commit
ef2734fbd0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: memory.cpp,v 1.7 2005/12/11 12:17:28 christos Exp $ */
|
||||
/* $NetBSD: memory.cpp,v 1.8 2006/02/20 03:07:33 uwe Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -95,8 +95,8 @@ MemoryManager::reservePage(vsize_t size, BOOL page_commit)
|
|||
DPRINTF((TEXT("can't allocate memory for translation table.\n")));
|
||||
return FALSE;
|
||||
}
|
||||
DPRINTF((TEXT("address translation table %d pages.(%d byte)\n"), npage,
|
||||
tabsz));
|
||||
DPRINTF((TEXT("address translation table %d pages. (0x%x bytes)\n"),
|
||||
npage, tabsz));
|
||||
|
||||
if (page_commit)
|
||||
vbase = vaddr_t(VirtualAlloc(0, vsize, MEM_RESERVE,
|
||||
|
|
Loading…
Reference in New Issue