summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2002-03-142001-12-28 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (SRCS): Remove std.c.
2002-03-142002-03-14 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* unzipstore.c (unzip_store): New variable IN_BUF_SIZE to hold allocated space for IN_BUF. Use that instead IN_BUF_LEN for that purpose if appropriate. Always update IN_BUF_LEN after a read. 2002-03-11 Roland McGrath <roland@frob.com> * unzipstore.c: New file, broken out of bunzip2.c. * bunzip2.c: Most code moved to unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * gunzip.c: Most code deleted, now in unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * Makefile (DIST_FILES): New variable, list unzipstore.c here.
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> * url.c (find_url_class): Function removed. (store_url_open): Use store_typed_open after validating syntax. (store_url_decode): Use store_find_class and store_module_find_class. * 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-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* unzipstore.c: New file, broken out of bunzip2.c. * bunzip2.c: Most code moved to unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * gunzip.c: Most code deleted, now in unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * Makefile (DIST_FILES): New variable, list unzipstore.c here. 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.
2002-03-142002-02-08 Roland McGrath <roland@frob.com>Roland McGrath
* argp.c (DEFAULT_STORE_TYPE): Macro removed. (DEFAULT_STORE_CLASS): New macro replaces it. (parse_opt): Update the use. 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-03-13 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile ($(store-types:%=libstore_%.a)): Create object files with the undefined symbol rather than linker scripts. 2002-03-11 Roland McGrath <roland@frob.com> * unzipstore.c: New file, broken out of bunzip2.c. * bunzip2.c: Most code moved to unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * gunzip.c: Most code deleted, now in unzipstore.c, which we #include. (DO_UNZIP, UNZIP): New function, macro. * Makefile (DIST_FILES): New variable, list unzipstore.c here. * Makefile (module-CPPFLAGS): New variable. * module.c (STORE_SONAME_SUFFIX): Macro removed. * Makefile (store-types): Add missing types here. (SRCS): Remove all those from here and use $(store-types:=.c) instead. 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> * Makefile (SRCS): Remove std.c.
2002-03-142002-03-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* rdwr.c (store_read): Truncate amount to be read to size of store. Use memcpy rather than bcopy. (store_write): Return EIO if caller tries to write over the end of the store. * copy.c (copy_read): Do not multiply LEN returned from vm_read with vm_page_size.
2002-03-12.Roland McGrath
2002-03-122002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* ftpfs.c (parse_startup_opt): If given one argument with no :, use "/" as the remote root.
2002-03-12.Roland McGrath
2002-03-122002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* configure.in (--enable-boot-store-types): Grok this arg. * config.make.in (boot-store-types): New variable, set by it. * Makeconf [$(dir) != libstore] ($(boot-store-types:%=../libstore/libstore_%.a)): Make these targets depend on ../libstore/libstore.so.
2002-03-122002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf ($(libname).so.$(hurd-version)): Include $($(libname).so-LDLIBS) and $(LDLIBS) in the link. * configure.in (--enable-boot-store-types): Grok this arg. * config.make.in (boot-store-types): New variable, set by it. * Makeconf [$(dir) != libstore] ($(boot-store-types:%=../libstore/libstore_%.a)): Make these targets depend on ../libstore/libstore.so.