aboutsummaryrefslogtreecommitdiff
path: root/storeio/pager.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-08-12 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-151-1/+2
| | | | | | | | * pager.c: Include <errno.h>. (pager_read_page): Use memset, not bzero. * storeio.c (check_open_hook): Typo fix in comment. (trivfs_modify_stat): STORE->size is a store_offset_t. It not a vm_size_t.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | | * dev.c: Add #include <sys/mman.h> for munmap decl. * pager.c: Likewise.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-1/+1
| | | | | | | * dev.c (dev_buf_fill): Use munmap instead of vm_deallocate. (dev_close): Likewise. (dev_read): Likewise. * pager.c (pager_write_page): Likewise.
* 1999-05-09 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-05-121-1/+2
| | | | | * pager.c (dev_stop_paging): Do not try to count ports in PAGER_PORT_BUCKET if it has not been created.
* 1999-01-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-271-2/+2
| | | | | | | | | | | | | | | | * storeio.c (options): New option -c/--no-cache. (inhibit_cache): New variable. (parse_opt): Make -c set it. (trivfs_append_args): Report --no-cache if set. (check_open_hook): Pass inhibit_cache flag to dev_open. * dev.h (struct dev): New member `inhibit_cache'. (dev_open): Update decl. * dev.c (dev_open): Take new arg inhibit_cache, store in new dev. If set, don't initialize buf_offs, io_lock, pager, pager_lock. (dev_read, dev_write): If DEV->inhibit_cache is set, allow only whole-block i/o: EINVAL for non-whole-block attempts. * pager.c (dev_get_memory_object): If DEV->inhibit_cache is set, don't make our own pager; if store_map returns EOPNOTSUPP, so do we.
* Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-16/+16
| | | | | * pager.c (dev_get_memory_object): Deal with errors from pager_create properly.
* Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-2/+1
| | | | | | * pager.c (service_paging_requests): New args for ports_manage_port_operations_multithread. * storeio.c (main): Likewise.
* (dev_get_memory_object):Miles Bader1997-07-171-30/+34
| | | | | Add PROT arg. Use store_map.
* (pager_read_page): Initialize READ to 0.Miles Bader1997-07-161-1/+1
|
* (dev_get_memory_object): Implement correctly.Miles Bader1997-07-161-54/+49
| | | | | (dev_stop_paging): Work entirely by flushing user pagers; don't kill pager. (pager_clear_user_data): Zero our pointer to the pager.
* (pager_read_page):Miles Bader1996-09-231-1/+1
| | | | Cast BUF into void ** for dev_read.
* Initial checkinMiles Bader1996-09-081-0/+264