summaryrefslogtreecommitdiff
path: root/serverboot
AgeCommit message (Collapse)Author
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.
1999-03-06.Roland McGrath
1999-03-061999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* def_pager_setup.c (default_pager_setup): #if 0 out unused function.
1999-03-061999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main: scrript_paging_file): Pass LINUX_SIGNATURE arg through to add_paging_file.
1999-03-061999-03-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager_paging_file): Pass 0 for new LINUX_SIGNATURE arg to add_paging_file.
1999-02-27.Roland McGrath
1999-02-271999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* def_pager_setup.c (add_paging_file): New arg CHECK_LINUX_SIGNATURE, pass down to create_paging_partition. * default_pager.c (create_paging_partition): New arg CHECK_LINUX_SIGNATURE, pass down new_partition. (new_partition): New arg CHECK_LINUX_SIGNATURE: if not < 0, check first page of swap for Linux 2.0 or 2.2 signature page and obey its bad-block map; if > 0, refuse the partition if no signature found. * bootstrap.c (main): Add new boot script functions `add-raw-paging-file', `add-linux-paging-file'. Make those and `add-paging-file' all call add_paging_file with new LINUX_SIGNATURE arg of -1, 1, and 0, respectively. * default_pager.c (create_paging_partition): If new_partition returns null, return and do nothing more.
1998-07-25.Roland McGrath
1998-07-251998-07-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (pager_read_offset): Cast NO_BLOCK twice, to real return type of this function.
1998-05-12Tue May 12 12:11:36 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* bootstrap.c (parse_script): Free BUF before returning. Reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
1997-07-15.Miles Bader
1997-07-15(safe_gets):Miles Bader
Use strchr instead of index. (main): Rearrange default pager initialization. Change "(bootstrap)" to "(serverboot)" in msgs. Include <string.h>
1997-07-15(boot_script_exec_cmd):Miles Bader
Change "(bootstrap)" to "(serverboot)" in msgs.
1997-07-09.Miles Bader
1997-07-09(main):Miles Bader
Don't exit if no paging partition.
1997-07-08Not used anymoreMiles Bader
1997-07-08.Miles Bader
1997-07-08(safe_gets):Miles Bader
Make sure a newline exists before removing it. Ensure that the cursor moves to the beginning of the next line. (main): Don't call translate_root. Pass more than a single character to safe_gets. (DEFAULT_ROOT): New macro. Don't include "translate_root.h".
1997-07-08(SRCS):Miles Bader
Remove translate_root.c. (LCLHDRS): Remove translate_root.h.
1997-06-20Fri Jun 20 15:37:15 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* bootstrap.c (main/script_paging_file): Instead of returning an error use new variable `had_a_partition' to record whether we successfully opened a partition. (main/script_default_pager): Only start pager if HAD_A_PARTITION; otherwise print warning message. Mon Jun 16 11:52:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (installationdir): Use `=' to set this instead of :=; $(prefix) is not yet available and `=' postpones the evaluation properly. Reported by Marcus G. Daniels, marcus@cathcart.sysc.pdx.edu.
1997-06-11Tue Jun 10 21:54:52 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* disk_inode.h (struct icommon): Use short instead of uid_t/gid_t in structure definition; those are now 32 bit types. * bootstrap.c (main): Support running from command line too; this is useful at least for simple debugging.
1997-06-09.Miles Bader
1997-06-09(LCLHDRS):Miles Bader
Add mach-exec.h.
1997-05-02Turn off debugging printfs.Thomas Bushnell
1997-05-01Thu May 1 18:40:53 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* bootstrap.c (cthread_stack_size): Don't set special value here; use the default.
1997-04-30*** empty log message ***Thomas Bushnell
1997-04-18*** empty log message ***Thomas Bushnell
1997-04-18typoThomas Bushnell
1997-04-18add debugging.Thomas Bushnell
1997-04-18fix typo.Thomas Bushnell
1997-04-18Fri Apr 18 16:44:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* wiring.c (__vm_allocate): New function. Wed Apr 16 14:18:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * default_pager.c (debug): Turn off. Mon Apr 14 12:50:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * default_pager.c: Remove debugging printfs. Thu Apr 10 15:10:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (installationdir): Set variable.
1997-04-14*** empty log message ***Thomas Bushnell
1997-04-09*** empty log message ***Thomas Bushnell
1997-04-09Wed Apr 9 13:57:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* default_pager.c (default_pager_default_thread): New function. Delete old variable with this name, it was never used. (default_pager): Fork default_pager_default_thread instead of doing it here to avoid the possibility that we are on a tiny stack. Current thread dies.
1997-04-09Wed Apr 9 13:57:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* default_pager.c (default_pager_default_thread): New function. (default_pager): Fork default_pager_default_thread instead of doing it here to avoid the possibility that we are on a tiny stack. Current thread dies.
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