summaryrefslogtreecommitdiff
path: root/serverboot/load.c
AgeCommit message (Collapse)Author
2003-05-072003-05-07 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* 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>.
2002-06-232002-06-22 Roland McGrath <roland@frob.com>Roland McGrath
* 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 *.
2001-08-172001-08-16 Roland McGrath <roland@frob.com>Roland McGrath
* 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".
2001-04-012001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* assert.h: Fix obsolescent #endif syntax. * default_pager.c: Likewise. * queue.h: Likewise. * load.c: Likewise.
1999-10-281999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-10-281999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* load.c (boot_script_exec_cmd): Copy environment from our `environ' onto the new task's stack along with its arguments.
1999-04-301998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>Thomas Bushnell
* 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.
1997-07-15(boot_script_exec_cmd):Miles Bader
Change "(bootstrap)" to "(serverboot)" in msgs.
1997-04-04Thu Apr 3 20:00:58 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-04-03Initial RevisionThomas Bushnell