Age | Commit message (Collapse) | Author |
|
* strfcns.c: #include <stdarg.h> instead of <varargs.h>.
(strbuild): Use <stdarg.h>-style for handling variable argument
list.
* load.c: Don't #include <varargs.h>.
|
|
* load.c (boot_script_exec_cmd): Twiddle decls of serverboot_bunzip2
and serverboot_gunzip.
* load.c (boot_script_exec_cmd): Cast int to intptr_t before char *.
|
|
* Makefile (OBJS): Add userland-boot.o here.
Add a vpath to find userland-boot.c in boot/ too.
* bootstrap.c (parse_script): Pass new arg to boot_script_parse_line.
* load.c: Include <stddef.h> before "boot_script.h".
|
|
* assert.h: Fix obsolescent #endif syntax.
* default_pager.c: Likewise.
* queue.h: Likewise.
* load.c: Likewise.
|
|
* load.c, bootstrap.c: Back out some debugging printfs accidentally
included in the last commit.
* bootstrap.c (main): Increase size of NEW_ROOT buffer.
This change was included in the last commit, but not logged then.
|
|
* file_io.h: Include <errno.h>.
(FS_* macros): Define these to equivalent errno codes.
* def_pager_setup.c (add_paging_file): Put strerror of result code in
error messages.
* bootstrap.c (parse_script): Likewise.
* load.c (boot_script_exec_cmd): Include NAMEBUF in error messages,
and use strerror to format result code.
* panic.c (panic): Use program_invocation_name in message.
|
|
* load.c (boot_script_exec_cmd): Copy environment from our `environ'
onto the new task's stack along with its arguments.
|
|
* bunzip2.c: New file.
* load.c (GZIP) (BZIP2): New cpp constants.
(boot_script_exec_cmd): If GZIP is defined, gunzip engine is enabled.
If BZIP2 is defined, bunzip2 engine is enabled.
* Makefile (SRCS): Add bunzip2.c.
(UNZIP_OBJS): Add do-bunzip2.o.
(CPPFLAGS): Add -DGZIP, -DBZIP2 and -DSMALL_BZIP2.
1998-09-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* gunzip.c: New file.
Copy libstore/gunzip.c and modify for use in serverboot.
* load.c (struct stuff): Add members, image_addr and image_size.
(mem_read) (mem_read_exec): New functions.
(boot_script_exec_cmd): Add gzexe feature.
* Makefile: Add unzip stuffs.
|
|
Change "(bootstrap)" to "(serverboot)" in msgs.
|
|
* elf-load.c (exec_load): Include <elf.h> instead of
<mach/exec/elf.h>. Include "mach-exec.h" instead of
<mach/exec/elf.h>.
(exec_load) [i386]: Check for i386 types directly; abandon old
MY_EI_DATA and MY_E_MACHINE.
* load.c: Include "mach-exec.h" instead of <mach/exec/elf.h>.
* exec.c: Likewise.
* mach-exec.h: New file.
|
|
|