summaryrefslogtreecommitdiff
path: root/devio
AgeCommit message (Collapse)Author
1995-04-21Split out `std' into individual device-makers it calls.Roland McGrath
Rewrote /dev/fd stuff (still commented out). Use case built-in instead of expr program.
1995-04-11(DIST_FILES): New var, for MAKEDEV.Michael I. Bushnell
(install): Depend on $(prefix)/dev/MAKEDEV. ($(prefix)/dev/MAKEDEV): New target.
1995-04-11Initial revisionMichael I. Bushnell
1995-04-10Add some dependencies on include files.Miles Bader
1995-04-10(trivfs_S_file_truncate): Always return 0, so O_TRUNC works.Miles Bader
1995-04-10(open_write, open_read): Bounds check I/O.Miles Bader
1995-04-10(main, check_open_hook, close_device, trivfs_goaway): Add a new lock,Miles Bader
device_lock, and use it to control access to the DEVICE variable. (open_hook, trivfs_modify_stat, trivfs_S_fys_syncfs): Copy DEVICE before using it, so it doesn't change underneath us. (clean_exit): Add a new argument that says whether to aquire a lock before doing our work. (ports_notice_idle, ports_no_live_ports): Use it. (close_device): New function, closes DEVICE cleanly. (clean_exit, ports_no_hard_ports): Use close_device. (main): Use trivfs_startup instead of doing it manually. (trivfs_goaway): Try and do it better, paying attention to flags, etc.; this still isn't right though, we may want to wait for the ports library to be fixed first. (DEBUG): New macro, executes its arg with debug_lock locked.
1995-04-10(open_create): Supply our device's size when creating a window.Miles Bader
1995-04-09Read or write partial pages at the end of the device.Miles Bader
1995-04-09(position): Use a shorter than normal window if necessary to avoid going pastMiles Bader
the end of the device. (window_create): Initialize the new MAX_POS field. Rename the location field `pos'.
1995-04-09Add a new window field, max_pos. Rename the location field `pos'.Miles Bader
1995-04-05Initial revisionMiles Bader
1995-04-05Initial revisionMiles Bader