/[hurd]/hurd-l4/laden/ia32-cmain.c
ViewVC logotype

Diff of /hurd-l4/laden/ia32-cmain.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by marcus, Mon Sep 8 14:23:17 2003 UTC revision 1.8 by marcus, Mon Sep 8 21:06:18 2003 UTC
# Line 41  help_arch (void) Line 41  help_arch (void)
41  /* Check if the bit BIT in FLAGS is set.  */  /* Check if the bit BIT in FLAGS is set.  */
42  #define CHECK_FLAG(flags,bit)   ((flags) & (1 << (bit)))  #define CHECK_FLAG(flags,bit)   ((flags) & (1 << (bit)))
43    
 /* The following must be defined and are used to calculate the extents  
    of the laden binary itself.  */  
 extern char _start;  
 extern char _end;  
44    
45  /* Setup the argument vector and pass control over to the main  /* Setup the argument vector and pass control over to the main
46     function.  */     function.  */
# Line 162  debug_dump (void) Line 158  debug_dump (void)
158  }  }
159    
160    
161    /* The following must be defined and are used to calculate the extents
162       of the laden binary itself.  */
163    extern char _start;
164    extern char _end;
165    
166    
167  /* Find the kernel, the initial servers and the other information  /* Find the kernel, the initial servers and the other information
168     required for booting.  */     required for booting.  */
169  void  void
# Line 326  find_components (void) Line 328  find_components (void)
328    
329    /* Now protect ourselves and the mulitboot info (at least the module    /* Now protect ourselves and the mulitboot info (at least the module
330       configuration.  */       configuration.  */
331    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);
332    
333    start = (l4_word_t) mbi;    start = (l4_word_t) mbi;
334    end = start + sizeof (*mbi) - 1;    end = start + sizeof (*mbi) - 1;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26