summaryrefslogtreecommitdiff
path: root/physmem
diff options
context:
space:
mode:
authormarcus <marcus>2004-11-01 17:06:45 +0000
committermarcus <marcus>2004-11-01 17:06:45 +0000
commitca4a13f4e75baca0ee96af58d3f5264fa9c9f28c (patch)
tree79668e933c435e516c1861f5d056ba78c8cccc84 /physmem
parentbb023f110010b59364e78c725d746c7178e6b715 (diff)
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* container.c: Include "zalloc.h". * physmem.c (create_bootstrap_caps): Remove unused variables STARTUP_CAP, NR_FPAGES, FPAGES.
Diffstat (limited to 'physmem')
-rw-r--r--physmem/ChangeLog6
-rw-r--r--physmem/container.c2
-rw-r--r--physmem/physmem.c3
3 files changed, 7 insertions, 4 deletions
diff --git a/physmem/ChangeLog b/physmem/ChangeLog
index 95e8dec..74594dd 100644
--- a/physmem/ChangeLog
+++ b/physmem/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-01 Marcus Brinkmann <marcus@gnu.org>
+
+ * container.c: Include "zalloc.h".
+ * physmem.c (create_bootstrap_caps): Remove unused variables
+ STARTUP_CAP, NR_FPAGES, FPAGES.
+
2004-10-29 Marcus Brinkmann <marcus@gnu.org>
* ia32-cmain.c (switch_thread): Correct start of small sub stack
diff --git a/physmem/container.c b/physmem/container.c
index 32e4cff..98bfee1 100644
--- a/physmem/container.c
+++ b/physmem/container.c
@@ -29,7 +29,7 @@
#include <hurd/cap-server.h>
#include "physmem.h"
-
+#include "zalloc.h"
diff --git a/physmem/physmem.c b/physmem/physmem.c
index a131bdd..a85e677 100644
--- a/physmem/physmem.c
+++ b/physmem/physmem.c
@@ -82,10 +82,7 @@ create_bootstrap_caps (hurd_cap_bucket_t bucket)
{
error_t err;
hurd_cap_handle_t cap;
- hurd_cap_handle_t startup_cap;
hurd_cap_obj_t obj;
- l4_word_t nr_fpages;
- l4_word_t fpages[L4_FPAGE_SPAN_MAX];
l4_accept (l4_map_grant_items (L4_COMPLETE_ADDRESS_SPACE));