summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262001-11-20 Neal H Walfield <neal@cs.uml.edu>Neal H. Walfield
* pager.c (MAX_FREE_PAGE_BUFS): Remove obsolete macro. (FREE_PAGE_BUFS): New macro. (free_page_bufs_lock): Make this global variable local to get_page_buf. (free_page_bufs): Likewise. (num_free_page_bufs): Likewise. (get_page_buf): Reimplement using a new caching algorithm based on preallocation of COW zero pages. (free_page_buf): Likewise. (find_block): Documentation fixes.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* tmpfs.c (parse_opt): Grok % suffix on number to mean percentage of the machine's RAM.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass options to tmpfs: -m 1777 512M.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* tmpfs.c (options): New static const variable. Add --mode/-m. (struct option_values): New type. (parse_opt): Use that for VALUES. Grok -m to set VALUES->mode. Grok ARGP_KEY_FINI and free our data structure. (tmpfs_root_mode): New variable, set by -m. (main): If -m was given, use that instead of underlying node's permissions.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem. (mkdev: std): Add shm to the standard list.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* tmpfs.c (main): Don't release REALNODE.
2002-03-24.Roland McGrath
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* node.c: Include "default_pager_U.h", not <mach/default_pager.h>. (diskfs_truncate): Return early if page-rounded size is unchanged. Call default_pager_object_set_size on the memory object. (diskfs_grow): Likewise.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (OBJS): Add default_pagerUser.o here.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* setup.c (default_pager_paging_storage): Fail if receiver port is not default_pager_default_port.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (OBJS): Add default_pager_replyUser.o here. * main.c (default_pager_bootstrap_port): Declaration removed. (main): Don't use it. * Makefile (OBJS): Remove bootstrapServer.o from here.
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.
2002-03-242002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* default_pager.defs (default_pager_object_set_size): New RPC. * default_pager_reply.defs: New file.
2002-03-23.Roland McGrath
2002-03-232002-03-23 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (default_pager_bootstrap_port): Declaration removed. (main): Don't use it.
2002-03-22.Roland McGrath
2002-03-222002-03-21 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so that .map files come after the -( ... -) group.
2002-03-19fix botched entryRoland McGrath
2002-03-192002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* mutations.h (TIOCTL_IMPORTS): New macro. * priv.h: Protect from multiple inclusion.
2002-03-18.Roland McGrath
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* vga.c (vga_init): io_perm -> ioperm. (vga_deinit): Likewise.
2002-03-18.Roland McGrath
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* dynafont.c: Include <string.h>. * focus.c: Likewise. * vga.c: Likewise. * vga-display.c: Likewise.
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* main.c: Include <error.h>. (main): Use `error' instead of perror + exit. (console_mode, console_owner, console_group): Use *_t, not int.
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* console/mutations.h (TIOCTL_IMPORTS): New macro. * priv.h: Protect from multiple inclusion.
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* vga.c (vga_init): io_perm -> ioperm. * dynafont.c: Include <string.h>. * focus.c: Likewise. * vga.c: Likewise. * vga-display.c: Likewise.
2002-03-18.Roland McGrath
2002-03-182002-03-17 Roland McGrath <roland@frob.com>Roland McGrath
* tioctl.defs [TIOCTL_IMPORTS]: Use this macro if defined.
2002-03-17Initial check in of some code under development.Marcus Brinkmann
2002-03-15.Roland McGrath
2002-03-152002-03-15 Roland McGrath <roland@frob.com>Roland McGrath
* configure.in: Remove the checks for libparted. Instead, check just for a static -lstore_part library and do that only if no --enable-boot-store-types option was given. * configure.in (boot_store_types): Add remap to the default list.
2002-03-152002-03-15 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (OBJS): Remove hack for part.o. (parted.o parted_p.o parted_pic.o): Targets removed.
2002-03-14.Roland McGrath
2002-03-142002-03-14 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (cleantarg): Append $(store-types:%=libstore_%.a) here. (all): Depend on that list too. (install): Depend on those files in $(libdir). ($(store-types:%=$(libdir)/libstore_%.a): $(libdir)/%: %): New static pattern rule to install them.
2002-03-14.Roland McGrath
2002-03-142002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (ufs.static): Depend on $(boot-store-types:%=../libstore/libstore_%.a).
2002-03-142002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (ext2fs.static): Depend on $(boot-store-types:%=../libstore/libstore_%.a).
2002-03-14Merged changes from roland_libstore_modules_branchRoland McGrath
2002-03-142002-01-19 Roland McGrath <roland@frob.com>Roland McGrath
* url.c (url_decode): Renamed to store_url_decode, made public. (store_url_open_class): Changed use. * store.h: Declare store_url_decode. * decode.c (store_decode): Call store_url_decode for STORAGE_NETWORK as a special case. 2001-12-28 Roland McGrath <roland@frob.com> * module.c: New file. * store.h (store_module_open, store_module_find_class, store_module_decode): Declare them. * argp.c (parse_opt): Leave PARSED->classes null here instead of defaulting to store_std_classes. (find_class): Default null class-list parameter to store_std_classes here instead. If no matches when defaulted, try calling store_module_open_class too. * typed.c (store_typed_open): If no match when search list is store_std_classes, try calling store_module_open_class too. * url.c (find_url_class): Likewise. * decode.c (store_decode): If no match when search list is store_std_classes, try calling store_module_decode too. * store.h (store_concat_class_vectors): Remove decl of nonexistent fn.
2002-03-142002-02-08 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (store-types): New variable. (all): Depend on $(store-types:%=libstore_%.a). (libstore_%.so.$(hurd-version)): New pattern rule. ($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type. (libstore.so-LDLIBS): New variable, adds -ldl. (GUNZIP_OBJS, BUNZIP2_OBJS): New variables. (UNZIP_OBJS): Variable removed, replaced by those two. (OBJS): Update use. (libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS). (libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS). * unknown.c: Add STORE_STD_CLASS decl. * bunzip2.c: Likewise. * copy.c: Likewise. * device.c: Likewise. * file.c: Likewise. * gunzip.c: Likewise. * memobj.c: Likewise. * module.c: Likewise. * mvol.c: Likewise. * nbd.c: Likewise. * open.c: Likewise. * part.c: Likewise. * remap.c: Likewise. * stripe.c: Likewise. * stripe.c: Likewise. * task.c: Likewise. * typed.c: Likewise. * typed.c: Likewise. * unknown.c: Likewise. * url.c: Likewise. * zero.c: Likewise. 2002-01-19 Roland McGrath <roland@frob.com> * typed.c (store_find_class): New function. (store_typed_open): Use it. 2001-12-28 Roland McGrath <roland@frob.com> * module.c: New file. * store.h (store_module_open, store_module_find_class, store_module_decode): Declare them. * argp.c (parse_opt): Leave PARSED->classes null here instead of defaulting to store_std_classes. (find_class): Default null class-list parameter to store_std_classes here instead. If no matches when defaulted, try calling store_module_open_class too. * typed.c (store_typed_open): If no match when search list is store_std_classes, try calling store_module_open_class too. * url.c (find_url_class): Likewise. * decode.c (store_decode): If no match when search list is store_std_classes, try calling store_module_decode too.
2002-03-142002-01-19 Roland McGrath <roland@frob.com>Roland McGrath
* url.c (url_decode): Renamed to store_url_decode, made public. (store_url_open_class): Changed use. * store.h: Declare store_url_decode. * decode.c (store_decode): Call store_url_decode for STORAGE_NETWORK as a special case. 2001-12-28 Roland McGrath <roland@frob.com> * module.c: New file. * store.h (store_module_open, store_module_find_class, store_module_decode): Declare them. * argp.c (parse_opt): Leave PARSED->classes null here instead of defaulting to store_std_classes. (find_class): Default null class-list parameter to store_std_classes here instead. If no matches when defaulted, try calling store_module_open_class too. * typed.c (store_typed_open): If no match when search list is store_std_classes, try calling store_module_open_class too. * url.c (find_url_class): Likewise. * decode.c (store_decode): If no match when search list is store_std_classes, try calling store_module_decode too.
2002-03-142002-02-08 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (store-types): New variable. (all): Depend on $(store-types:%=libstore_%.a). (libstore_%.so.$(hurd-version)): New pattern rule. ($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type. (libstore.so-LDLIBS): New variable, adds -ldl. (GUNZIP_OBJS, BUNZIP2_OBJS): New variables. (UNZIP_OBJS): Variable removed, replaced by those two. (OBJS): Update use. (libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS). (libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS). * unknown.c: Add STORE_STD_CLASS decl. * bunzip2.c: Likewise. * copy.c: Likewise. * device.c: Likewise. * file.c: Likewise. * gunzip.c: Likewise. * memobj.c: Likewise. * module.c: Likewise. * mvol.c: Likewise. * nbd.c: Likewise. * open.c: Likewise. * part.c: Likewise. * remap.c: Likewise. * stripe.c: Likewise. * stripe.c: Likewise. * task.c: Likewise. * typed.c: Likewise. * typed.c: Likewise. * unknown.c: Likewise. * url.c: Likewise. * zero.c: Likewise.
2002-03-142002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (module-CPPFLAGS): New variable. * module.c (STORE_SONAME_SUFFIX): Macro removed. 2002-02-08 Roland McGrath <roland@frob.com> * Makefile (store-types): New variable. (all): Depend on $(store-types:%=libstore_%.a). (libstore_%.so.$(hurd-version)): New pattern rule. ($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type. (libstore.so-LDLIBS): New variable, adds -ldl. (GUNZIP_OBJS, BUNZIP2_OBJS): New variables. (UNZIP_OBJS): Variable removed, replaced by those two. (OBJS): Update use. (libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS). (libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS). * unknown.c: Add STORE_STD_CLASS decl. * bunzip2.c: Likewise. * copy.c: Likewise. * device.c: Likewise. * file.c: Likewise. * gunzip.c: Likewise. * memobj.c: Likewise. * module.c: Likewise. * mvol.c: Likewise. * nbd.c: Likewise. * open.c: Likewise. * part.c: Likewise. * remap.c: Likewise. * stripe.c: Likewise. * stripe.c: Likewise. * task.c: Likewise. * typed.c: Likewise. * typed.c: Likewise. * unknown.c: Likewise. * url.c: Likewise. * zero.c: Likewise. 2001-12-28 Roland McGrath <roland@frob.com> * module.c: New file. * store.h (store_module_open, store_module_find_class, store_module_decode): Declare them. * argp.c (parse_opt): Leave PARSED->classes null here instead of defaulting to store_std_classes. (find_class): Default null class-list parameter to store_std_classes here instead. If no matches when defaulted, try calling store_module_open_class too. * typed.c (store_typed_open): If no match when search list is store_std_classes, try calling store_module_open_class too. * url.c (find_url_class): Likewise. * decode.c (store_decode): If no match when search list is store_std_classes, try calling store_module_decode too.