aboutsummaryrefslogtreecommitdiff
path: root/storeio
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* .Roland McGrath1999-05-011-0/+6
|
* 1999-04-30 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-05-011-4/+7
| | | | | | * storeio.c (trivfs_modify_stat): Do not assume that we have the device open in the caculation of st_mode. If the device is not open, only return S_IFCHR if inhibit_cache is set.
* .Roland McGrath1999-02-011-0/+2
|
* 1999-01-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-011-1/+3
| | | | * storeio.c (trivfs_modify_stat): Return S_IFCHR if block size is 1.
* .Roland McGrath1999-02-011-0/+6
|
* 1999-01-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-011-1/+1
| | | | | | * storeio.c (trivfs_modify_stat): Return S_IFCHR iff inhibit_cache set, otherwsie S_IFBLK. For a block-addressed device, S_IFCHR means "must do whole-block i/o".
* .Roland McGrath1999-01-281-0/+5
|
* 1999-01-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-281-4/+4
| | | | | * io.c (trivfs_S_file_syncfs): Fix inverted test. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
* .Roland McGrath1999-01-271-0/+16
|
* 1999-01-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-274-30/+91
| | | | | | | | | | | | | | | | * 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.
* Add braces to silence gcc warnings.Roland McGrath1998-10-202-11/+17
|
* .Roland McGrath1998-07-201-3/+6
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-6/+7
| | | | * storeio.c (main): Fix return type to int, and use return.
* Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-202-16/+19
| | | | | * 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-203-3/+8
| | | | | | * pager.c (service_paging_requests): New args for ports_manage_port_operations_multithread. * storeio.c (main): Likewise.
* .Miles Bader1997-07-231-0/+6
|
* (trivfs_S_io_select):Miles Bader1997-07-231-10/+6
| | | | | | Don't bother returning EBADF. (trivfs_S_io_readable, trivfs_S_io_read, trivfs_S_io_map): Return EBADF instead of EINVAL.
* .Miles Bader1997-07-221-0/+5
|
* (trivfs_S_io_read):Miles Bader1997-07-221-1/+3
| | | | | | Return EINVAL instead of EBADF. (trivfs_S_io_map): Return EINVAL if CRED cannot be read or written.
* .Miles Bader1997-07-211-0/+4
|
* (HURDLIBS):Miles Bader1997-07-211-2/+2
| | | | Add iohelp.
* .Miles Bader1997-07-171-0/+6
|
* (dev_get_memory_object):Miles Bader1997-07-171-30/+34
| | | | | Add PROT arg. Use store_map.
* (trivfs_S_io_map):Miles Bader1997-07-171-5/+10
| | | | Pass PROT argument to dev_get_memory_object.
* (dev_get_memory_object):Miles Bader1997-07-171-2/+3
| | | | Add PROT arg.
* .Miles Bader1997-07-161-0/+2
|
* (pager_read_page): Initialize READ to 0.Miles Bader1997-07-161-1/+1
|
* .Miles Bader1997-07-161-0/+9
|
* (trivfs_S_io_map):Miles Bader1997-07-161-12/+12
| | | | Make sure there are enough references to MEMOBJ for both read & write ports.
* (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.
* .Miles Bader1997-02-201-0/+13
|
* (parse_opt):Miles Bader1997-02-201-66/+48
| | | | | | | | | | | | | | | | | New function (was nested in main). (doc): Make an initialized array. (fsys_port_class, root_port_class, port_bucket, trivfs_protid_portclasses, trivfs_protid_nportclasses, trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Variables removed. (argp, argp_kids): New variables (were nested in main). (main): Don't set or use port class/bucket variables, let trivfs_startup do it. Add FSYS variable. (trivfs_goaway): Get ROOT_PORT_CLASS from FSYS.
* Fri Nov 15 17:54:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-182-5/+8
| | | | | * storeio.c (trivfs_check_open_hook): New arg syntax. (check_open_hook): Likewise.
* .Miles Bader1996-10-241-0/+4
|
* (main):Miles Bader1996-10-241-1/+1
| | | | Use elements of type `struct argp_child' for KIDS.
* .Miles Bader1996-10-081-0/+5
|
* (trivfs_S_file_get_storage_info):Miles Bader1996-10-081-3/+28
| | | | | If necessary to enforce security, make a copy of STORE and inactivate it before returning.
* .Miles Bader1996-09-261-0/+5
|
* (trivfs_S_file_check_access):Miles Bader1996-09-261-12/+0
| | | | Function removed (trivfs default is now sufficient).
* .Miles Bader1996-09-241-0/+5
|
* (check_open_hook):Miles Bader1996-09-241-0/+15
| | | | | | Return EROFS if O_WRITE on a readonly device. (trivfs_S_file_check_access): New function.
* .Miles Bader1996-09-231-0/+1
|
* (trivfs_append_args):Miles Bader1996-09-231-2/+3
| | | | | | | Make ARGZ_LEN of type `size_t *'. Narrow scope of BUF. <argz.h>: New include.
* .Miles Bader1996-09-231-0/+5
|
* (main):Miles Bader1996-09-231-2/+26
| | | | | | Use STORE_PARAMS variable to get result from parsing STORE_ARGP. (trivfs_append_args): New function.
* (pager_read_page):Miles Bader1996-09-231-1/+1
| | | | Cast BUF into void ** for dev_read.
* (open_read, open_write):Miles Bader1996-09-232-4/+4
| | | | Use void * buffers.
* (trivfs_S_io_read, trivfs_S_io_write):Miles Bader1996-09-231-2/+2
| | | | Use void * buffers.
* (struct dev, dev_read, dev_write):Miles Bader1996-09-231-7/+3
| | | | Use void * buffers.