aboutsummaryrefslogtreecommitdiff
path: root/devio/devio.c
Commit message (Collapse)AuthorAgeFilesLines
* (main): Add FLAGS arg to trivfs_startup call.Miles Bader1995-11-061-1/+1
|
* (main, trivfs_S_fsys_syncfs): Get rid of debugging noise.Miles Bader1995-10-041-26/+0
|
* (trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader1995-08-241-7/+4
| | | | (trivfs_modify_stat): Get the device from CRED now that we have it.
* (trivfs_peropen_create_hook): This now returns an error_t.Miles Bader1995-08-131-3/+5
| | | | (open_hook): And thus this does as well.
* (trivfs_goaway): Make trivfs_goaway do the right thing.Miles Bader1995-07-081-102/+72
| | | | | | | | | | | | | | | (clean_exit, close_device): Deleted functions. (thread_cancel): New function. (fsys_port_class, root_port_class, port_bucket): New vars. (trivfs_protid_portclasses, trivfs_cntl_portclasses, trivfs_protid_nportclasses, trivfs_cntl_nportclasses): New vars. (main): Initialize *portclasses vars, and convert to new trivfs lib. (trivfs_protid_porttypes, trivfs_cntl_porttypes, trivfs_protid_nporttypes, trivfs_cntl_nporttypes): Deleted vars. (trivfs_goaway): Convert args for new trivfs lib. (ports_cleanroutines): Delete var. (ports_demuxer, ports_notice_idle, ports_no_live_ports, ports_no_hard_ports): Delete functions.
* (main, check_open_hook, close_device, trivfs_goaway): Add a new lock,Miles Bader1995-04-101-124/+81
| | | | | | | | | | | | | | | | | | | | 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.
* Initial revisionMiles Bader1995-04-051-0/+451