commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/laden loader.h loader.c laden.h laden.c...


From: Neal H. Walfield
Subject: hurd-l4/laden loader.h loader.c laden.h laden.c...
Date: Thu, 26 Jul 2007 20:48:42 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 07/07/26 20:48:42

Modified files:
        laden          : loader.h loader.c laden.h laden.c kip-fixup.c 
                         ia32-cmain.c ChangeLog 

Log message:
        2007-07-26  Neal H. Walfield  <address@hidden>
        
                * loader.h (loader_add_region): Take an additional parameter, 
the
                L4 descriptor type.  Update callers.
                (loader_elf_load): Likewise.
                (loader_regions_reserve): New function.
                * loader.c: Add field desc_type.
                (loader_add_region): Take an additional parameter, an L4
                descriptor type.  Save it in the allocated descriptor.  Round 
the
                start address to a page boundary.
                (loader_remove_region): Remove all regions with the name NAME, 
not
                just the first one.
                (loader_regions_reserve): New function.
                (loader_elf_load): Take an additional parameter, an L4 
descriptor
                type.  Mark regions that we allocate with this type.  Coalesce
                regions where possible.
                * laden.h: Include <assert.h>.
                (add_memory_map): Improve comment.  Add an assert.
                * ia32-cmain.c (module_relocate): Rename from this...
                (modules_relocate): ... to this.  Handle relocating multiple
                modules.
                (find_components): When protecting module data areas, coalesce
                when possible.  Fix an off by one error when calculating the 
upper
                memory bound.  Rename the module meta data region to better
                reflect its nature.
                
                * kip-fixup.c (kip_fixup): Call loader_regions_reserve before
                copying the memory descriptors.  Don't set KIP->MEMORY_INFO.NR
        
                * laden.c (load_components): Allocate a stack for sigma0 and the
                root server just beyond their highest address.
        
                * kip-fixup.c (kip_fixup): Only boot versions of L4 that we know
                how to boot.
        
                * ia32-cmain.c (find_components): Only reserve conventional 
memory
                for an X2 kernel.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/loader.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/loader.c?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/laden.h?cvsroot=hurd&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/laden.c?cvsroot=hurd&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/kip-fixup.c?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/ia32-cmain.c?cvsroot=hurd&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/laden/ChangeLog?cvsroot=hurd&r1=1.21&r2=1.22




reply via email to

[Prev in Thread] Current Thread [Next in Thread]