Age | Commit message (Collapse) | Author |
|
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.
|
|
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.defs (default_pager_object_set_size): New RPC.
* default_pager_reply.defs: New file.
|
|
|
|
* main.c (default_pager_bootstrap_port): Declaration removed.
(main): Don't use it.
|
|
|
|
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so
that .map files come after the -( ... -) group.
|
|
|
|
* mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
|
|
* vga.c (vga_init): io_perm -> ioperm.
(vga_deinit): Likewise.
|
|
|
|
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
* main.c: Include <error.h>.
(main): Use `error' instead of perror + exit.
(console_mode, console_owner, console_group): Use *_t, not int.
|
|
* console/mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
* vga.c (vga_init): io_perm -> ioperm.
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
|
|
* tioctl.defs [TIOCTL_IMPORTS]: Use this macro if defined.
|
|
|
|
|
|
* 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.
|
|
* Makefile (OBJS): Remove hack for part.o.
(parted.o parted_p.o parted_pic.o): Targets removed.
|
|
|
|
* 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.
|
|
|
|
* Makefile (ufs.static): Depend on
$(boot-store-types:%=../libstore/libstore_%.a).
|
|
* Makefile (ext2fs.static): Depend on
$(boot-store-types:%=../libstore/libstore_%.a).
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* Makefile (SRCS): Remove std.c.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* ftpfs.c (parse_startup_opt): If given one argument with no :,
use "/" as the remote root.
|
|
|
|
* 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.
|
|
* 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.
|
|
2002-03-12 Marcus Brinkmann <marcus@gnu.org>
* opts-append-std.c (diskfs_append_std_options): Only add --sync=N
or --no-sync option if it is not the default.
TODO/
* Remove the item related to the above change.
|
|
|
|
|
|
|
|
* elfcore.c: New file, used by crash server (../trans) to write
ELF core dump files. Thanks to Jon Arney <jarney1@cox.net> for
spurring me to write this, and for helping to test and debug it.
|