]> rtime.felk.cvut.cz Git - l4.git/blobdiff - kernel/fiasco/src/kern/arm/boot_info-arch.cpp
update
[l4.git] / kernel / fiasco / src / kern / arm / boot_info-arch.cpp
index b112027a8e28f186a2801890bfa152423e5e87e5..22d8a46756af31d58405b0b4435856c16652726b 100644 (file)
@@ -23,36 +23,22 @@ IMPLEMENT
 void Boot_info::set_kip(Kip *kip)
 {
   boot_info_kip = kip;
-} 
+}
 
 IMPLEMENT
 Kip *Boot_info::kip()
 {
   return boot_info_kip;
-} 
+}
 
 extern "C" char _etext, _sstack, _stack, _edata, _end;
 
-IMPLEMENT static 
+IMPLEMENT static
 void Boot_info::init()
 {
-    
-  // Dependent on how we've been booted, the BSS might not have been
-  // cleaned out.  Do this now.  This is safe because we made sure in
-  // crt0.S that our stack is not in the BSS.
-  //  memset(&_edata, 0, &_sstack - &_edata);
-  //  memset(&_stack, 0, &_end - &_stack);
-
   // We save the checksum for read-only data to be able to compare it against
   // the kernel image later (in jdb::enter_kdebug())
   //saved_checksum_ro = boot_info::get_checksum_ro();
-
-#if 0
-  kmbi = *(multiboot_info *)(phys_to_virt(get_mbi_pa()));
-  
-   Cmdline::init (kmbi.flags & MULTIBOOT_CMDLINE ?
-                 static_cast<char*>(phys_to_virt (kmbi.cmdline)) : "");
-#endif
 }
 
 PUBLIC static