Age | Commit message (Collapse) | Author |
|
* device.c (store_device_create): Deal with devices that return
sucessfully from device_get_status, but do not return any sensible
information.
|
|
Pass 0 for OFFSET and SIZE arguments to device_map -- mach ignores them, and
we often can't supply meaningful values.
(store_device_create):
Treat devices that can't do device_get_status as zero-length.
|
|
New function.
(store_device_class):
Use dev_map.
(dev_read, dev_write):
Remove debugging grot.
|
|
Move enforcement checking code to enforce.
(enforced):
Move some checking here from dev_set_flags, and correct the check for the
number of stores.
|
|
If *MOD_FLAGS already contains STORE_HARD_READONLY, don't ever try to open
for reading.
(_store_device_create):
Use _store_create instead of _make_store.
Update FSF address.
|
|
Use MOD_FLAGS arg to dopen.
(dopen):
Add MOD_FLAGS param, and detect read-only devices.
|
|
Correctly check for unenforcable runs.
|
|
Use dopen.
Set *STORE's name appropriately.
(store_device_class):
Add dev_set_flags & dev_clear_flags.
(dopen, dclose, enforced):
New functions.
(dev_set_flags, dev_clear_flags):
New functions.
|
|
New function.
(store_device_class):
Renamed from dev_class; export.
(dev_class):
Point to it.
|
|
|
|
|
|
|
|
(store_device_create): Always set STORE_ENFORCED.
(device_class): Renamed from device_meths. Add more fields. Make std with
_STORE_STD_CLASS.
(store_device_create, _store_device_create): CLASS param removed, METHS param
renamed CLASS; all callers changed. FLAGS param added.
<hurd.h>: New include.
|
|
Use store_run, not off_t, vectors; tweak accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|