[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4/laden ia32-cmain.c
From: |
Marcus Brinkmann |
Subject: |
hurd-l4/laden ia32-cmain.c |
Date: |
Mon, 08 Sep 2003 17:06:18 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd-l4
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/09/08 17:06:18
Modified files:
laden : ia32-cmain.c
Log message:
Small cleanup.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/laden/ia32-cmain.c.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: hurd-l4/laden/ia32-cmain.c
diff -u hurd-l4/laden/ia32-cmain.c:1.7 hurd-l4/laden/ia32-cmain.c:1.8
--- hurd-l4/laden/ia32-cmain.c:1.7 Mon Sep 8 10:23:17 2003
+++ hurd-l4/laden/ia32-cmain.c Mon Sep 8 17:06:18 2003
@@ -41,10 +41,6 @@
/* Check if the bit BIT in FLAGS is set. */
#define CHECK_FLAG(flags,bit) ((flags) & (1 << (bit)))
-/* The following must be defined and are used to calculate the extents
- of the laden binary itself. */
-extern char _start;
-extern char _end;
/* Setup the argument vector and pass control over to the main
function. */
@@ -162,6 +158,12 @@
}
+/* The following must be defined and are used to calculate the extents
+ of the laden binary itself. */
+extern char _start;
+extern char _end;
+
+
/* Find the kernel, the initial servers and the other information
required for booting. */
void
@@ -326,7 +328,7 @@
/* Now protect ourselves and the mulitboot info (at least the module
configuration. */
- loader_add_region ("laden", (l4_word_t) &_start, (l4_word_t) &_end);
+ loader_add_region (program_name, (l4_word_t) &_start, (l4_word_t) &_end);
start = (l4_word_t) mbi;
end = start + sizeof (*mbi) - 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4/laden ia32-cmain.c,
Marcus Brinkmann <=