From: Ben Pfaff Date: Mon, 13 Sep 2004 03:00:49 +0000 (+0000) Subject: Don't assume 4 kB pages. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=b6b1e6db07a20a0b3025c2ae62a58e80c1af841b Don't assume 4 kB pages. --- diff --git a/src/threads/init.c b/src/threads/init.c index 4859d42..9ab0447 100644 --- a/src/threads/init.c +++ b/src/threads/init.c @@ -62,7 +62,7 @@ main (void) console_init (); /* Greet user. */ - printf ("Pintos booting with %'d kB RAM...\n", ram_pages * 4); + printf ("Pintos booting with %'d kB RAM...\n", ram_pages * (PGSIZE / 1024)); /* Parse command line. */ argv_init ();