summaryrefslogtreecommitdiff
path: root/serverboot
AgeCommit message (Collapse)Author
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
Excised default pager functionality from serverboot. * Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to (EXTRA_DIST): ... here. (OBJS): Remove *Server.o from here. (MIGSFLAGS): Variable removed. * bootstrap.c (main): Replace paging-file boot-script functions with a stub that prints an error. No longer call partition_init, default_pager_initialize, or default_pager. (default_pager_bootstrap_port): Variable removed. (main): Don't use it. (default_pager_exception_port): Declaration removed. (main): Don't use it. * default_pager.c (default_pager_bootstrap_port): Variable removed. (default_pager_demux_default): Don't use it. (default_pager_initialize): Likewise. (default_pager): Likewise. (do_bootstrap_privileged_ports, bootstrap_compat): Functions removed. [mips] (set_ras_address): Likewise. * default_pager.c (pager_truncate): New function. (struct dpager): New member `limit'. (pager_alloc): Initialize it. (default_pager_object_set_size): New function. (seqnos_memory_object_lock_completed): Rewritten, no longer a stub. (default_pager_demux_object): Try default_pager_server too.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
Excised default pager functionality from serverboot. * Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to (EXTRA_DIST): ... here. (OBJS): Remove *Server.o from here. (MIGSFLAGS): Variable removed. * bootstrap.c (main): Replace paging-file boot-script functions with a stub that prints an error. No longer call partition_init, default_pager_initialize, or default_pager. (default_pager_bootstrap_port): Variable removed. (main): Don't use it. (default_pager_exception_port): Declaration removed. (main): Don't use it. * default_pager.c (default_pager_bootstrap_port): Variable removed. (default_pager_demux_default): Don't use it. (default_pager_initialize): Likewise. (default_pager): Likewise. (do_bootstrap_privileged_ports, bootstrap_compat): Functions removed. [mips] (set_ras_address): Likewise.
2001-11-24.Roland McGrath
2001-11-242001-11-24 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (installationdir): Use $(bootdir).
2001-08-17.Roland McGrath
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-07-21.Roland McGrath
2001-07-212001-07-20 Roland McGrath <roland@frob.com>Roland McGrath
* panic.c: Fix obsolescent #endif syntax. * ext2_file_io.c: Likewise. * disk_inode_ffs.h: Likewise. * ffs_file_io.c: Likewise.
2001-07-21.Roland McGrath
2001-07-212001-07-20 Roland McGrath <roland@frob.com>Roland McGrath
* panic.c: Fix obsolescent #endif syntax.
2001-04-01.Roland McGrath
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.
2001-02-28.Roland McGrath
2001-02-282001-02-28 Roland McGrath <roland@frob.com>Roland McGrath
* default_pager.c: Use <file_io.h> instead of "file_io.h", so mach-defpager gets its own version when it uses this source file. (new_partition): If CHECK_LINUX_SIGNATURE arg is -3, don't print out.
2001-01-11The below change is preperation for a new mach-defpager interface by Roland.Marcus Brinkmann
2001-01-11 Marcus Brinkmann <marcus@gnu.org> * def_pager_setup.c: Include <mach/mig_errors.h> and <mach/default_pager_types.h>. (default_pager_paging_storage): New stub.
2000-04-03.Roland McGrath
2000-04-032000-04-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* panic.c: Include <stdarg.h> instead of <varargs.h>. (panic): Use stdarg style.
2000-01-032000-01-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file_io.h: Include "../ext2fs/ext2_fs.h" instead of "ext2_fs.h". * ext2_file_io.c (search_directory): Use `struct ext2_dir_entry_2' in place of `struct ext2_dir_entry', so as to grok newer dir formats. * ext2_fs.h: File removed. * Makefile (LCLHDRS): Remove it from the list. * ffs_compat.c (EXT2_INODES_PER_BLOCK): New macro, no longer in ext2_fs.h.
1999-11-18.Roland McGrath
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager): Instead of suspending this thread, just become the default_pager_default_thread thread ourselves.
1999-11-18.Roland McGrath
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* wiring.c (wire_all_memory): Touch pages before wiring.
1999-11-181999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager_initialize): Use MACH_PORT_VALID to check old DMM port, rather than just checking for MACH_PORT_NULL.
1999-11-16.Roland McGrath
1999-11-161999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* strfcns.c (index): Function removed.
1999-11-16.Roland McGrath
1999-11-161999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ffs_file_io.c (ffs_open_file): Use memmove instead of ovbcopy. * ext2_file_io.c (ext2_open_file): Likewise. * strfcns.c (ovbcopy): Function removed.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main): Further spruce up prompting and error reporting for root device and boot script.
1999-10-28.Roland McGrath
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-28.Roland McGrath
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-10-081999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* bootstrap.c: (DEFAULT_ROOT): Remove macro. (main): If no root device was specified, then prompt as if the user had specified -a. Don't use strcpy to move NEW_ROOT into ROOT_NAME; that's unsafe.
1999-10-081999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* bootstrap.c: (DEFAULT_ROOT): Remove macro. (main): If no root device was specified, then prompt as if the user had specified -a.
1999-10-06.Roland McGrath
1999-10-061999-10-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (DEFAULT_ROOT): Change to "hd0s1".
1999-08-22.Roland McGrath
1999-08-201999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (parse_script): Add one to the buffer size so we can null-terminate after the end of the file.
1999-07-20.Roland McGrath
1999-07-201999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific routines *_page_{read,write}_file_direct. Moved to ... * file_io.c (page_read_file_direct, page_write_file_direct): Don't call fs-specific routine, these are not fs-specific. Instead, replaced with former fs-specific routines (which were all identical). Read and write more than a fs block when disk blocks are contiguous.
1999-07-20.Roland McGrath
1999-07-201999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (new_partition): When reading Linux signature page, handle pager_read_file_direct returning sub-page blocks.
1999-06-03.Roland McGrath
1999-06-031999-06-03 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'.
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment variable, set its value as ${kernel-command-line} for boot scripts.
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-05-30.Roland McGrath