Age | Commit message (Collapse) | Author |
|
|
|
* Makefile (installationdir): Use $(bootdir).
|
|
|
|
* 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".
|
|
|
|
* panic.c: Fix obsolescent #endif syntax.
* ext2_file_io.c: Likewise.
* disk_inode_ffs.h: Likewise.
* ffs_file_io.c: Likewise.
|
|
|
|
* panic.c: Fix obsolescent #endif syntax.
|
|
|
|
* assert.h: Fix obsolescent #endif syntax.
* default_pager.c: Likewise.
* queue.h: Likewise.
* load.c: Likewise.
|
|
|
|
* 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-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.
|
|
|
|
* panic.c: Include <stdarg.h> instead of <varargs.h>.
(panic): Use stdarg style.
|
|
* 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.
|
|
|
|
* default_pager.c (default_pager): Instead of suspending this thread,
just become the default_pager_default_thread thread ourselves.
|
|
|
|
* wiring.c (wire_all_memory): Touch pages before wiring.
|
|
* default_pager.c (default_pager_initialize): Use MACH_PORT_VALID to
check old DMM port, rather than just checking for MACH_PORT_NULL.
|
|
|
|
* strfcns.c (index): Function removed.
|
|
|
|
* ffs_file_io.c (ffs_open_file): Use memmove instead of ovbcopy.
* ext2_file_io.c (ext2_open_file): Likewise.
* strfcns.c (ovbcopy): Function removed.
|
|
|
|
* bootstrap.c (main): Further spruce up prompting and error reporting
for root device and boot script.
|
|
|
|
* load.c, bootstrap.c: Back out some debugging printfs accidentally
included in the last commit.
* bootstrap.c (main): Increase size of NEW_ROOT buffer.
This change was included in the last commit, but not logged then.
|
|
|
|
* file_io.h: Include <errno.h>.
(FS_* macros): Define these to equivalent errno codes.
* def_pager_setup.c (add_paging_file): Put strerror of result code in
error messages.
* bootstrap.c (parse_script): Likewise.
* load.c (boot_script_exec_cmd): Include NAMEBUF in error messages,
and use strerror to format result code.
* panic.c (panic): Use program_invocation_name in message.
|
|
* bootstrap.c: (DEFAULT_ROOT): Remove macro.
(main): If no root device was specified, then prompt as if the
user had specified -a. Don't use strcpy to move NEW_ROOT into
ROOT_NAME; that's unsafe.
|
|
* bootstrap.c: (DEFAULT_ROOT): Remove macro.
(main): If no root device was specified, then prompt as if the
user had specified -a.
|
|
|
|
* bootstrap.c (DEFAULT_ROOT): Change to "hd0s1".
|
|
|
|
* bootstrap.c (parse_script): Add one to the buffer size so we can
null-terminate after the end of the file.
|
|
|
|
* ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific
routines *_page_{read,write}_file_direct. Moved to ...
* file_io.c (page_read_file_direct, page_write_file_direct): Don't
call fs-specific routine, these are not fs-specific. Instead,
replaced with former fs-specific routines (which were all identical).
Read and write more than a fs block when disk blocks are contiguous.
|
|
|
|
* default_pager.c (new_partition): When reading Linux signature page,
handle pager_read_file_direct returning sub-page blocks.
|
|
|
|
* default_pager.c (new_partition): Declare `waste' as `int'
instead of `unsigned int'.
|
|
|
|
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment
variable, set its value as ${kernel-command-line} for boot scripts.
|
|
* load.c (boot_script_exec_cmd): Copy environment from our `environ'
onto the new task's stack along with its arguments.
|
|
|
|
* bootstrap.c (main): Define $(serverboot) function for "serverboot
controls", control command replacing the pathname. For command "die",
terminate ourselves after running the boot script, no default pager.
|
|
|
|
* default_pager.c (new_partition): Fix arg order in printf for
linux-2.2 signature page.
|