summaryrefslogtreecommitdiff
path: root/mach-defpager/setup.c
AgeCommit message (Collapse)Author
2014-03-25mach-defpager: fix local includesJustus Winter
* mach-defpager/default_pager.c: Fix local includes. * mach-defpager/main.c: Likewise. * mach-defpager/setup.c: Likewise.
2014-03-12mach-defpager: fix type of size argumentsJustus Winter
* mach-defpager/default_pager.c (new_partition): Fix type of bsize. * mach-defpager/file_io.h (page_read_file_direct): Fix type of size argument. (page_write_file_direct): Likewise. * mach-defpager/setup.c (page_read_file_direct): Likewise. (page_write_file_direct): Likewise.
2012-03-26Remove warnings during compilation.Maksym Planeta
* mach-defpager/kalloc.c: Added missing prototypes, headers, types. * mach-defpager/wiring.c: Likewise. * mach-defpager/default_pager.c: Likewise. * mach-defpager/main.c: Likewise. * mach-defpager/setup.c: Likewise. (S_default_pager_paging_storage): Fix wrong calling of kfree. * mach-defpager/kalloc.h: New file with prototypes from kalloc.c. * mach-defpager/default_pager.h: New file with prototypes from default_pager.c. * mach-defpager/Makefile (LCLHDRS): Add new header files.
2011-04-03Remove `serverboot'; fix "make dist" in `mach-defpager'.Ludovic Courtès
* 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.
2010-08-01Fix swap on large devicesJeremie Koenig
DEV_GET_SIZE values overflow with large devices, rather use DEV_GET_RECORDS. * mach-defpager/setup.c (S_default_pager_paging_storage): Use DEV_GET_RECORDS instead of DEV_GET_SIZE.
2007-06-062007-06-06 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile: Remove a comment. * setup.c (default_pager_paging_storage): Rename to `S_default_pager_paging_storage'.
2002-06-162002-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* setup.c (page_write_file_direct): Use proper type for result param of device_write.
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.
2001-06-05* setup.c (page_read_file_direct): Fix logic to find the run thatMark Kettenis
contains the data to be read. Use size in bytes instead of blocks when calling device_read. (page_write_file_direct): Fix logic to find the run that contains the data to be written. Pass SIZE_WRITTEN to device_write call instead of &WROTE when writing a whole page. Correctly calculate SEGSIZE.
2001-02-282000-12-28 Roland McGrath <roland@frob.com>Roland McGrath
Override the shared code from serverboot for device access with a new, simpler implementation with no filesystem format support. The new code implements the new default_pager_paging_storage RPC to set up paging areas that can be subsets of whole Mach devices, with no Linux signature checking. The compatibility setup entry point works as before on whole devices. * setup.c, file_io.h: New files. * Makefile (SRCS): Remove def_pager_setup.c, file_io.c, strfcns.c, ext2_file_io.c, ffs_file_io.c, ffs_compat.c, minix_file_io.c, minix_ffs_compat.c; add setup.c to replace them all.