Commit Graph

107 Commits

Author SHA1 Message Date
Kevin Lange
871da8a2d4 Reset tty after divine-size 2014-06-06 11:37:47 -07:00
Kevin Lange
9d389c52d5 Add PPid to procfs 2014-06-05 23:41:21 -07:00
Kevin Lange
4c199aa6b8 close previous wd on kdebug cd 2014-06-05 22:22:17 -07:00
Kevin Lange
34d81fca37 Probably fix mkdir in tmpfs 2014-06-05 19:08:07 -07:00
Kevin Lange
99ca785025 Fix warning in ps2mouse module 2014-06-01 12:56:47 -07:00
Kevin Lange
d7b7d17a00 That assertion should be a warning 2014-05-31 20:35:23 -07:00
Kevin Lange
f317b18a25 Add a debug command to maybe fix mouse if it gets stuck 2014-05-30 22:27:45 -07:00
Kevin Lange
04fa7a39b7 Support ^D in debug shell; make VINTR ^B for serial console 2014-05-29 22:01:53 -07:00
Kevin Lange
54cd6e4547 Hm. Not sure why that's happening. 2014-05-28 20:17:23 -07:00
Kevin Lange
84420f9e5c Support closing packetfs connections 2014-05-28 19:21:56 -07:00
Kevin Lange
d696f51f8b Real unix pipes 2014-05-27 21:38:30 -07:00
Kevin Lange
ad1074184c Fix an IRC bail fprintf that was dropping a unit 2014-05-23 13:26:03 -07:00
Kevin Lange
3743d0e311 Fix irc prompt 2014-05-23 12:44:14 -07:00
Kevin Lange
290eb0f344 Some IRC cleanup 2014-05-19 19:39:04 -07:00
Kevin Lange
c5f256a4d3 terrible hack - kernel irc client 2014-05-18 20:23:21 -07:00
Kevin Lange
4c99c387f5 Expose pc speaker as device file 2014-05-18 16:11:14 -07:00
Kevin Lange
1dfa71aee9 A start on cleaning up network stack 2014-05-17 23:16:30 -07:00
Kevin Lange
25af2c88eb minor cleanup 2014-05-17 18:50:52 -07:00
Kevin Lange
216a26e6c4 fix NICK/USER 2014-05-17 16:45:15 -07:00
Kevin Lange
7b05a869a5 Silly IRC client 2014-05-17 15:08:50 -07:00
Kevin Lange
03f8f5062c Interactive IRC connection 2014-05-17 12:40:01 -07:00
Kevin Lange
39787e16f3 Additional cleanup, fix multiple messages 2014-05-15 20:45:14 -07:00
Kevin Lange
372ded0b4d cobbled-together mess of an irc packet sending thing 2014-05-14 23:24:43 -07:00
Kevin Lange
f074cbd8b1 More broken TCP stuff 2014-05-14 21:26:53 -07:00
Kevin Lange
63b51a566a Working acks 2014-05-14 21:02:10 -07:00
Kevin Lange
4f289bd594 tcp syn :D 2014-05-14 16:34:05 -07:00
Kevin Lange
a252e54ce5 more general DNS cleanup 2014-05-14 01:44:31 -07:00
Kevin Lange
21b6454ba4 Cleanup DNS client a bit and query freenode 2014-05-14 01:23:12 -07:00
Kevin Lange
ff2cf9ee72 Fix mac addresses I accidentally zero'd 2014-05-14 00:13:36 -07:00
Kevin Lange
e9c05fa216 terrible DNS client 2014-05-13 23:56:54 -07:00
Kevin Lange
a3df5f1e22 IP convenience functions 2014-05-13 22:59:36 -07:00
Kevin Lange
98d6516cd4 Craft our own packets instead of using prebuilt ones 2014-05-13 22:09:15 -07:00
Kevin Lange
913c4b004f make the video panic screen display a message 2014-05-10 19:12:31 -07:00
Kevin Lange
ba46564785 Add a cheap, terrible vignette to the panic screen 2014-05-10 14:46:18 -07:00
Kevin Lange
7be6baffa4 Add a debug shell command to force a kernel panic 2014-05-10 14:16:35 -07:00
Kevin Lange
898c5f23d3 Desaturate entire display on kernel panic 2014-05-10 14:03:13 -07:00
Kevin Lange
56592bb600 Fix silly issue with not setting fd count in debug shell 2014-05-08 20:24:26 -07:00
Kevin Lange
e37fdd2b4b Various bits of cleanup; actually examine packets 2014-05-08 19:29:23 -07:00
Kevin Lange
6b8c425000 Minor cleanup, embed a DNS request 2014-05-07 23:08:34 -07:00
Kevin Lange
1ed5be7bc7 There are actually 5 of those, not 4, mr. cantcount 2014-05-07 00:17:31 -07:00
Kevin Lange
80fef4f1cb test sending multiple packets 2014-05-06 23:29:17 -07:00
Kevin Lange
e5a8ed3a68 Not the cleanest, but better than before... 2014-05-06 22:38:21 -07:00
Kevin Lange
b824abf250 Kill lwip stuff; add back in native rtl driver
Now with actual working stuff.
2014-05-06 22:14:05 -07:00
Kevin Lange
7d84693b95 Make ext2 driver should magic on magic mismatch 2014-05-03 02:06:26 -07:00
Kevin Lange
e838019d67 fix ata driver for devices not providing sectors_48 2014-05-03 02:06:08 -07:00
Kevin Lange
ce48da7973 Fix debug_shell module 2014-05-03 00:15:07 -07:00
Kevin Lange
4d8335ad75 Implement proper wait/waitpid.
This is a pretty big commit, so let's run through it in parts:

- All of the userspace changes are to switch away from syscall_wait
  Mostly, this is to waitpid; some things were tweaked to do things
  "properly" instead of waiting for particular processes. Init has
  been fixed to do a proper spin wait.
- syscall_wait is gone - as are its uses. newlib bindings have been
  using just waitpid for a while now.
- waitpid now performs like a Unix waitpid
- process reaping is no longer a "do this on next change thing":
  it happens when a process is waited on, like it should
  (That means we can have real zombies: terminated processes that
  have not yet been waited on)
- Reparenting of children to init has been implemented, so you
  can fork-daemonize!

Overall, this is pretty big... So I hope it doesn't break everything.
2014-04-27 01:37:33 -07:00
Kevin Lange
5fb5e07b8e pcspkr - add device to makefile (but not module) 2014-04-26 20:18:30 -07:00
Kevin Lange
f07b2c18aa pcspkr module because why not 2014-04-26 20:12:06 -07:00
Kevin Lange
6d85b85b60 More progress maybe 2014-04-19 15:00:20 -07:00