* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Fix debug output.
This commit is contained in:
parent
21fdffa58a
commit
44e939882a
@ -1,3 +1,8 @@
|
||||
Mon Oct 9 16:44:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem):
|
||||
Fix debug output.
|
||||
|
||||
Mon Oct 9 15:58:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_mem.cc: Eliminate unused include statements.
|
||||
|
@ -83,12 +83,12 @@ fhandler_dev_mem::fhandler_dev_mem (const char *name, int nunit)
|
||||
}
|
||||
else
|
||||
mem_size = sbi.PhysicalPageSize * sbi.NumberOfPhysicalPages;
|
||||
debug_printf ("MemSize: %d MB", mem_size >>= 20);
|
||||
debug_printf ("MemSize: %d MB", mem_size >> 20);
|
||||
}
|
||||
else if (unit == 2) /* /dev/kmem - Not yet supported */
|
||||
{
|
||||
mem_size = 0;
|
||||
debug_printf ("KMemSize: %d MB", mem_size >>= 20);
|
||||
debug_printf ("KMemSize: %d MB", mem_size >> 20);
|
||||
}
|
||||
else if (unit == 4) /* /dev/port == First 64K of /dev/mem */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user