15 Commits

Author SHA1 Message Date
Viktor Oreshkin
c11d375e94 Add devices.h, replace magic dev numbers with defines 2019-08-06 16:48:00 +03:00
Viktor Oreshkin
c7dc14a672 dyn_dev: Make interface more generic 2019-08-06 16:48:00 +03:00
Viktor Oreshkin
995efea9aa Add dynamic devices 2019-08-06 16:48:00 +03:00
Theodore Dubois
088e7b727d Implement ptys
Also a bunch of somewhat related changes, I was too lazy to break this into more than one commit
2019-01-21 12:20:43 -08:00
Theodore Dubois
b4a24b0eb4 Stop ignoring -Winitializer-overrides 2019-01-13 17:30:08 -05:00
Theodore Dubois
01d0697406 Unbreak "memory" devices 2018-12-17 17:11:51 -08:00
Theodore Dubois
c42abb1f2a Fix segfault opening /dev/tty with no controlling tty 2018-12-17 14:19:19 -08:00
Ryan Hileman
362935a57c reorganize device initialization for mem devs 2018-12-10 13:01:39 -08:00
Theodore Dubois
bff58b2d95 Make /dev/tty work 2018-12-07 14:56:46 -08:00
Theodore Dubois
eddf023669 Move pwd, root, uname out into its own struct 2018-01-21 17:24:32 -08:00
Theodore Dubois
b048f6b4f6 Use more compact notation for struct dev_ops literals 2018-01-12 15:26:36 -08:00
Theodore Dubois
fd88906165 Implement /dev/null 2017-12-15 15:55:53 -08:00
Theodore Dubois
f1e63c43e0 Rename sys directory to kernel
A number of the headers in it were conflicting with macOS system
headers.
2017-10-13 16:54:11 -07:00
Theodore Dubois
9590764920 Implement basic TTY support
cat works, sh doesn't work. one step forward, two steps back.
2017-08-18 16:55:20 -07:00
Theodore Dubois
9f3fd32778 Add device file infrastructure 2017-07-29 17:31:20 -07:00