X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fmem.c;h=b5ae966168954f42520f81630c90c505b4b40f00;hb=01e2bfdc462dbbe8d62b71c7e99e198c27844f0f;hp=5698c07baee711844bf85a1832ae02ddf39f9b0f;hpb=c6ae41adef1bd7d54bc7e74abc4a5438e203d754;p=palacios.git diff --git a/palacios/src/geekos/mem.c b/palacios/src/geekos/mem.c index 5698c07..b5ae966 100644 --- a/palacios/src/geekos/mem.c +++ b/palacios/src/geekos/mem.c @@ -2,7 +2,7 @@ * Physical memory allocation * Copyright (c) 2001,2003,2004 David H. Hovemeyer * Copyright (c) 2003, Jeffrey K. Hollingsworth - * $Revision: 1.2 $ + * $Revision: 1.3 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -21,6 +21,7 @@ #include #include +#include /* ---------------------------------------------------------------------- * Global data @@ -163,7 +164,7 @@ void Init_Mem(struct Boot_Info* bootInfo) PrintBoth("VM End: %x\n",START_OF_VM+VM_SIZE-1); - PrintBoth("Page struct size: %u bytes\n", sizeof(struct Page)); + PrintBoth("Page struct size: %lu bytes\n", sizeof(struct Page)); PrintBoth("Page List Size: %u bytes\n", numPageListBytes);