diff options
author | neal <neal> | 2005-03-09 10:26:03 +0000 |
---|---|---|
committer | neal <neal> | 2005-03-09 10:26:03 +0000 |
commit | 63d7fc9080790f3717be16824ff5d93a93438807 (patch) | |
tree | 4ab219061e5393949b65818b19fcc0449d10c5ac /libhurd-mm/map.c | |
parent | 8704e7a7a8bbd08e2a6caf0517c46e47c0dca375 (diff) |
2005-03-09 Neal H. Walfield <neal@gnu.org>
* map.c: Include "vm.h".
(map_init): Cast HURD_STARTUP_ADDR to a uintptr_t.
* pager.c (pager): Comment fix.
Diffstat (limited to 'libhurd-mm/map.c')
-rw-r--r-- | libhurd-mm/map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libhurd-mm/map.c b/libhurd-mm/map.c index 0733638..0ef9c56 100644 --- a/libhurd-mm/map.c +++ b/libhurd-mm/map.c @@ -32,6 +32,7 @@ #include <hurd/btree.h> #include <hurd/slab.h> +#include "vm.h" #include "priv.h" /* Initialized by the machine-specific startup-code. */ @@ -57,8 +58,8 @@ map_init (void) assert (map); map->store = NULL; - map->store_offset = HURD_STARTUP_ADDR; - map->vm.start = HURD_STARTUP_ADDR; + map->store_offset = (uintptr_t) HURD_STARTUP_ADDR; + map->vm.start = (uintptr_t) HURD_STARTUP_ADDR; map->vm.size = HURD_STARTUP_SIZE; /* Add the program code, data segment, etc which can be found in the |