aboutsummaryrefslogtreecommitdiff
path: root/serverboot
Commit message (Collapse)AuthorAgeFilesLines
* Remove `serverboot'; fix "make dist" in `mach-defpager'.Ludovic Courtès2011-04-0334-11577/+0
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix default_pager default_pager_object_set_size parametersSamuel Thibault2010-08-271-1/+1
| | | | | | | As suggested by Sergio Lopez. * serverboot/default_pager.c (S_default_pager_object_set_size): Exchange `seqno' and `reply_to' parameters.
* make unblocked reads from external objects return a zeroed page.Sergio Lopez2010-08-271-3/+18
| | | | | | | | | | | * 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.
* Fix missing mutex unlock.Sergio Lopez2010-08-271-0/+1
| | | | | * serverboot/default_pager.c (pager_read_offset): Properly unlock the mutex before returning NO_BLOCK.
* Switch to the new ChangeLog style.Thomas Schwinge2009-07-111-473/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-06 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-06-062-23/+31
| | | | | | | | | * 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-15 Alfred M. Szmidt <ams@gnu.org>Thomas Schwinge2006-03-142-3/+27
| | | | | | | * kalloc.c: #include <malloc.h>. (init_hook, malloc_hook, free_hook): New functions. (__malloc_initialize_hook): New variable. (malloc, free): Functions removed.
* 2003-05-07 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann2003-05-072-6/+4
| | | | | | | * 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>.
* .Marcus Brinkmann2003-05-071-0/+7
|
* .Roland McGrath2002-07-031-0/+2
|
* 2002-07-03 Roland McGrath <roland@frob.com>Roland McGrath2002-07-031-2/+7
| | | | * elf-load.c (exec_load): Fix e_machine checking.
* .Roland McGrath2002-07-031-0/+4
|
* 2002-07-03 Roland McGrath <roland@frob.com>Roland McGrath2002-07-031-3/+3
| | | | * elf-load.c (exec_load): Fix typos in last change.
* .Roland McGrath2002-06-231-0/+12
|
* 2002-06-22 Roland McGrath <roland@frob.com>Roland McGrath2002-06-232-60/+165
| | | | | | | * 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-22 Roland McGrath <roland@frob.com>Roland McGrath2002-06-231-5/+5
| | | | | | * 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 *.
* .Roland McGrath2002-06-141-0/+4
|
* 2002-06-14 Roland McGrath <roland@frob.com>Roland McGrath2002-06-141-0/+2
| | | | * default_pager.c: #include "default_pager_S.h"
* .Roland McGrath2002-06-021-0/+4
|
* 2002-05-29 Roland McGrath <roland@frob.com>Roland McGrath2002-06-021-7/+7
| | | | * bootstrap.c (main): int -> integer_t for boot_script values.
* 2002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-05-232-4/+6
| | | | | * Makefile: Fix last change properly, by relaxing the rule again and adding our source dir before the exec dir.
* 2002-05-23 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-05-232-1/+9
| | | | * Makefile: Fix last change, constraining vpath even further.
* libstore/Marcus Brinkmann2002-05-232-4/+9
| | | | | | | | | | | | 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.
* .Roland McGrath2002-05-081-0/+4
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-2/+1
| | | | * default_pager.c (part_id): Add const to argument type.
* .Roland McGrath2002-03-241-0/+28
|
* 2002-03-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-241-143/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-242-66/+16
| | | | | | | | | | | | | | | | | | | | | 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.
* .Roland McGrath2001-11-241-0/+4
|
* 2001-11-24 Roland McGrath <roland@frob.com>Roland McGrath2001-11-241-1/+1
| | | | * Makefile (installationdir): Use $(bootdir).
* .Roland McGrath2001-08-171-0/+7
|
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-173-6/+11
| | | | | | | * 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".
* .Roland McGrath2001-07-211-0/+3
|
* 2001-07-20 Roland McGrath <roland@frob.com>Roland McGrath2001-07-213-9/+9
| | | | | | | * panic.c: Fix obsolescent #endif syntax. * ext2_file_io.c: Likewise. * disk_inode_ffs.h: Likewise. * ffs_file_io.c: Likewise.
* .Roland McGrath2001-07-211-0/+4
|
* 2001-07-20 Roland McGrath <roland@frob.com>Roland McGrath2001-07-211-1/+1
| | | | * panic.c: Fix obsolescent #endif syntax.
* .Roland McGrath2001-04-011-0/+7
|
* 2001-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-04-014-30/+30
| | | | | | | * assert.h: Fix obsolescent #endif syntax. * default_pager.c: Likewise. * queue.h: Likewise. * load.c: Likewise.
* .Roland McGrath2001-02-281-0/+6
|
* 2001-02-28 Roland McGrath <roland@frob.com>Roland McGrath2001-02-281-4/+5
| | | | | | * 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.
* The below change is preperation for a new mach-defpager interface by Roland.Marcus Brinkmann2001-01-112-0/+18
| | | | | | | | 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.
* .Roland McGrath2000-04-031-0/+5
|
* 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-04-031-5/+3
| | | | | * panic.c: Include <stdarg.h> instead of <varargs.h>. (panic): Use stdarg style.
* 2000-01-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-036-457/+27
| | | | | | | | | | * 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.
* .Roland McGrath1999-11-181-0/+3
|
* 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-181-0/+3
| | | | | * default_pager.c (default_pager): Instead of suspending this thread, just become the default_pager_default_thread thread ourselves.
* .Roland McGrath1999-11-181-0/+7
|
* 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-181-8/+31
| | | | * wiring.c (wire_all_memory): Touch pages before wiring.
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-181-1/+1
| | | | | * default_pager.c (default_pager_initialize): Use MACH_PORT_VALID to check old DMM port, rather than just checking for MACH_PORT_NULL.
* .Roland McGrath1999-11-161-0/+2
|