summaryrefslogtreecommitdiff
path: root/serverboot
AgeCommit message (Collapse)Author
2011-04-03Remove `serverboot'; fix "make dist" in `mach-defpager'.Ludovic Courtès
* serverboot/default_pager.c, serverboot/kalloc.c, serverboot/queue.h, serverboot/wiring.c, serverboot/wiring.h: Move to `mach-defpager/'. * serverboot/Makefile, serverboot/assert.h, serverboot/bootstrap.c, serverboot/bunzip2.c, serverboot/def_pager_setup.c, serverboot/defs.h, serverboot/dir.h, serverboot/disk_inode.h, serverboot/disk_inode_ffs.h, serverboot/elf-load.c, serverboot/exec.c, serverboot/ext2_file_io.c, serverboot/ffs_compat.c, serverboot/ffs_compat.h, serverboot/ffs_file_io.c, serverboot/file_io.c, serverboot/file_io.h, serverboot/fs.h, serverboot/gets.c, serverboot/gunzip.c, serverboot/load.c, serverboot/mach-exec.h, serverboot/minix_ffs_compat.c, serverboot/minix_ffs_compat.h, serverboot/minix_file_io.c, serverboot/minix_fs.h, serverboot/minix_super.h, serverboot/panic.c, serverboot/strfcns.c: Remove. * mach-defpager/Makefile (LCLHDRS): New variable. (vpath): Remove. (CPPFLAGS): Remove `-I$(srcdir)/../serverboot'. * mach-defpager/setup.c (page_aligned): Make public.
2010-08-27Fix default_pager default_pager_object_set_size parametersSamuel Thibault
As suggested by Sergio Lopez. * serverboot/default_pager.c (S_default_pager_object_set_size): Exchange `seqno' and `reply_to' parameters.
2010-08-27make unblocked reads from external objects return a zeroed page.Sergio Lopez
* serverboot/default_pager.c (struct dstruct): Add boolean_t external field. (default_pager_add): Set ds->external to TRUE or FALSE depending whether the object is external. (default_read): Add external parameter. If no_block(block) returns 1, if external is TRUE, zero fill the page and return PAGER_SUCCESS instead of PAGER_ABSENT. (seqnos_memory_object_data_request): Pass ds->external as additional parameter to default_read.
2010-08-27Fix missing mutex unlock.Sergio Lopez
* serverboot/default_pager.c (pager_read_offset): Properly unlock the mutex before returning NO_BLOCK.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2007-06-062007-06-06 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* default_pager.c (default_pager_object_create, default_pager_info) (default_pager_objects, default_pager_object_pages) (default_pager_object_set_size, default_pager_paging_file): Rename to `S_default_pager_object_create', `S_default_pager_info', `S_default_pager_objects', `S_default_pager_object_pages', `S_default_pager_object_set_size' and `S_default_pager_paging_file'.
2006-03-142006-03-15 Alfred M. Szmidt <ams@gnu.org>Thomas Schwinge
* kalloc.c: #include <malloc.h>. (init_hook, malloc_hook, free_hook): New functions. (__malloc_initialize_hook): New variable. (malloc, free): Functions removed.
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>.
2003-05-07.Marcus Brinkmann
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix e_machine checking.
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix typos in last change.
2002-06-23.Roland McGrath
2002-06-232002-06-22 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load) [__alpha__]: Grok Elf64_* headers and check for EM_ALPHA. * exec.c (set_regs) [__alpha__]: Alpha implementation snarfed from CMU file bootstrap/alpha/exec.c in MK83a.
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 *.
2002-06-14.Roland McGrath
2002-06-142002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* default_pager.c: #include "default_pager_S.h"
2002-06-02.Roland McGrath
2002-06-022002-05-29 Roland McGrath <roland@frob.com>Roland McGrath
* bootstrap.c (main): int -> integer_t for boot_script values.
2002-05-232002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile: Fix last change properly, by relaxing the rule again and adding our source dir before the exec dir.
2002-05-232002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile: Fix last change, constraining vpath even further.
2002-05-23libstore/Marcus Brinkmann
2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> * Makefile: Move inclusion of ../Makeconf before using $(srcdir). serverboot/ 2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> * Makefile: Move inclusion of ../Makeconf before using $(srcdir) and constrain vpath directives to avoid using ../exec/exec.o.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* default_pager.c (part_id): Add const to argument type.
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