Age | Commit message (Collapse) | Author |
|
2008-02-11 Neal H. Walfield <neal@gnu.org>
* stddef.h (debug): Change program_name's type to char *.
* t-addr-trans.c (program_name): Change type to char *.
* t-addr.c (program_name): Likewise.
* t-rpc.c (program_name): Likewise.
laden/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* laden.h (program_name): Change type to char *.
* laden.c (program_name): Likewise.
* shutdown.h (program_name): Likewise.
* output.h (debug): Change program_name's type to char *.
libc-parts/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* ia32-cmain.c (program_name): Change type to char *.
* t-setjmp.c (program_name): Likewise.
* assert.h (assertx): Change program_name's type to char *.
libhurd-btree/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* btree-test.c (program_name): Change type to char *.
libhurd-ihash/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* t-ihash.c (program_name): Change type to char *.
ruth/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* ruth.c (program_name): Change type to char *.
viengoos/
2008-02-11 Neal H. Walfield <neal@gnu.org>
* viengoos.c (program_name): Change type to char *.
* viengoos.h (program_name): Likewise.
* panic.c (program_name): Likewise.
* t-environment.h (program_name): Likewise.
(environment_init): Just set program_name to
argv[0].
|
|
* laden.c (program_name): Remove extern qualifier.
|
|
* laden.h (program_name): Change type to a const char [].
* laden.c (program_name): Likewise.
* shutdown.h (program_name): Likewise.
* output.h (debug): Change program_name's type to a const char [].
|
|
* kip-fixup.c (kip_fixup): Use a symbolic name rather than a magic
number.
[_L4_X2]: Set KIP->MEMORY_INFO.NR to MEMORY_MAP_SIZE.
* laden.c (load_components): Don't add L4 memory maps
corresponding to the the kernel's, sigma0's, sigma1's or the root
task's image.
* loader.c (mem_check): Add debugging output.
(loader_regions_reserve): Round USED_REGIONS[I].START and
USED_REGIONS[I].END appropriately.
|
|
* laden.h (add_memory_map): Improve comment.
* loader.h (loader_add_region): Likewise.
(loader_remove_region): Likewise.
* laden.c (memory_map): Move from here...
* loader.c (memory_map): ... to here.
* laden.c (memory_map_size): Move from here...
* loader.c (memory_map_size): ... to here.
* laden.c (loader_get_num_memory_desc): Move from here...
* loader.c (loader_get_num_memory_desc): ... to here.
* laden.c (loader_get_memory_desc): Move from here...
* loader.c (loader_get_memory_desc): ... to here.
* kip-fixup.c (kip_fixup): Don't call loader_regions_reserve
here...
* laden.c (main): ... but here.
* loader.c (mem_check): Don't decrement end.
|
|
* 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.
|
|
* loader.h (relocate_region): New typedef.
(loader_add_region): Add two additional arguments, rr and cookie.
Update callers.
* loader.c: Include "laden.h".
(struct): Add fields rr, cookie and used.
(check_region): Remove function.
(loader_add_region): Allocate a region descriptor by checking
whether the used bit is unset. Don't call check_region, check
here if a region is okay. If there is overlap, move the other
regions out of the way if possible.
(loader_remove_region): Just set the used bit to zero.
(loader_elf_load): Don't call check_region. Protect each segment
individually.
* ia32-cmain.c (cmain): Make a copy of the command line on the
stack and pass that to main.
(mbi_relocate): New function.
(mods_relocate): Likewise.
(cmdline_relocate): Likewise.
(module_relocate): Likewise.
(find_components): Protect the other modules. Protect each
module's string individually. Protect the first page.
* laden.c (rootserver_relocate): New function.
* ia32-cmain.c (start_kernel): Before jumping to IP, load Grub's
booloader magic into EAX and the address of the boot info
structure into EBX.
|
|
2005-01-07 Neal H. Walfield <neal@gnu.org>
* laden.c (parse_args): Argument is `--reboot', not `--reset'.
|
|
* ia32-cmain.c (start_kernel): Flush the D-cache.
* laden.c (main): Call panic() instead of shutdown() if kernel
returns.
|
|
* loader.h (loader_get_memory_desc): Change return type to
l4_memory_desc_t *.
* laden.h (rootserver_t): Remove typedef.
(kernel, sigma0, sigma1, rootserver): Change type to
l4_rootserver_t.
(memory_map): Change type to l4_memory_desc_t.
* laden.c (kernel, sigma0, sigma1, rootserver): Change type to
l4_rootserver_t.
(memory_map): Change type to l4_memory_desc_t.
(loader_get_memory_desc): Change return type to l4_memory_desc_t *.
* kip-fixup.c (kip_fixup): Use cast to l4_memory_desc_t.
|
|
* laden.c (main): Call start_kernel to launch kernel instead
of calling the kernel start address.
* laden.h (start_kernel): Prototype.
* ia32-cmain.c (start_kernel): New function.
|
|
* ia32-cmain.c (debug_dump): Cast mod[nr].string to char *.
* laden.c (parse_args): Remove superfluous arguments.
* loader.c: Include <string.h>.
* kip-fixup.c (kip_fixup): Use %p for pointer.
* output-serial.c: Include <stdlib.h>.
|
|
|
|
|
|
|
|
|
|
Truncate memory descriptors that stretch out until the very last possible
page.
|
|
|