Commit Graph

21 Commits

Author SHA1 Message Date
Stephen Heumann
4dbfd93179 Implement request procedure for mounting a disk by URL. 2018-08-12 20:51:09 -05:00
Stephen Heumann
8b09d6bb7d Switch to using a struct for the MountURL DControl call.
This allows us to return a better error code and provides for future extensibility.
2018-08-12 18:45:08 -05:00
Stephen Heumann
8fe8bbdf7e Update .gitignore. 2018-08-12 17:59:34 -05:00
Stephen Heumann
4ac24d75f4 Keep our driver installed on switch back from P8. 2018-08-12 15:08:26 -05:00
Stephen Heumann
2d00030eba Add framework for NetDisk CDev.
The CDev currently runs and displays the UI, but doesn't actually do anything.
2018-08-11 16:33:18 -05:00
Stephen Heumann
610a638e5c Switch to unified set of error codes. Also, do more checks for 2IMG files. 2018-08-11 01:53:53 -05:00
Stephen Heumann
ccc9594412 Add support for ejecting NetDisk volumes. 2018-08-10 22:40:07 -05:00
Stephen Heumann
2670da4f59 Add basic support for 2img format. 2018-08-10 19:51:21 -05:00
Stephen Heumann
d718d82ff1 Initial support for mounting and reading a remote filesystem. 2018-08-10 17:53:09 -05:00
Stephen Heumann
e6b1c304d3 Split out non-trivial driver ops into separate functions. 2018-08-10 00:12:24 -05:00
Stephen Heumann
9e9e7be0f8 Add framework of code for the driver. 2018-08-08 20:12:03 -05:00
Stephen Heumann
ff538de39c Add basic infrastructure for an installable GS/OS driver.
Currently, this can install the DIBs from the driver, but no driver calls are implemented.
2018-08-06 20:22:33 -05:00
Stephen Heumann
cb236fbeb3 Set up framework of the NetDisk init. 2018-08-05 18:04:34 -05:00
Stephen Heumann
9883d47517 Support retrying when reading from the TCP connection gives an error.
This is often what will happen if the server has terminated the connection (which many servers will do after a short time, e.g. one second).
2018-08-03 19:50:59 -05:00
Stephen Heumann
a66b69154e Lint fixes. 2018-08-01 18:24:43 -05:00
Stephen Heumann
a485918d44 Small refactoring. 2018-08-01 01:53:49 -05:00
Stephen Heumann
179c0afe56 Support for HTTP redirects. 2018-08-01 01:37:22 -05:00
Stephen Heumann
133c7f17b1 Add code to parse status line and headers of an HTTP response to our request. 2018-08-01 00:05:19 -05:00
Stephen Heumann
7c0a2b8c35 Add .gitignore file. 2018-07-30 21:37:05 -05:00
Stephen Heumann
28a0b1be19 Add and use code to parse URLs specifying the resource. 2018-07-30 21:35:45 -05:00
Stephen Heumann
ef272cb998 Initial code implementing some of the core functionality for reading blocks over HTTP. 2018-07-29 23:40:03 -05:00