Kevin Lange
871da8a2d4
Reset tty after divine-size
2014-06-06 11:37:47 -07:00
Kevin Lange
4c199aa6b8
close previous wd on kdebug cd
2014-06-05 22:22:17 -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
d696f51f8b
Real unix pipes
2014-05-27 21:38:30 -07:00
Kevin Lange
290eb0f344
Some IRC cleanup
2014-05-19 19:39:04 -07:00
Kevin Lange
03f8f5062c
Interactive IRC connection
2014-05-17 12:40:01 -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
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
4a09128a10
change format of modules command so it looks more orderly
2014-04-12 00:22:08 -07:00
Kevin Lange
faeab1ee2f
Now all the descriptions fit in 80 chars
2014-04-11 22:51:16 -07:00
Kevin Lange
38429b9f03
Update description for divine-size
2014-04-11 22:50:02 -07:00
Kevin Lange
d3b873cd04
Kill some silly debug shell commands
2014-04-11 22:48:25 -07:00
Kevin Lange
3d7a3969eb
Support launching arbitrary debug shells
2014-04-11 22:43:39 -07:00
Kevin Lange
a5a17099f6
pretty kernel debug shell 'help' command
2014-04-11 18:29:28 -07:00
Kevin Lange
9b2d31f51f
make pci_scan take an extra arg
2014-04-10 23:34:55 -07:00
Kevin Lange
75a7d5e7f2
Fix some module loading silliness
2014-04-10 23:08:07 -07:00
Kevin Lange
cf2bad7886
debug shell pci command - use correct widths
2014-04-10 22:23:36 -07:00
Kevin Lange
a9b9c2e20d
Random header cleanup
2014-04-05 16:36:17 -07:00
Kevin Lange
521dc9b77b
rename fs_printf, move it to logging, kill kprintf
...
fs_printf is now fprintf
kprint_to_file is now debug_file
debug_file and fprintf are defined in logging
kprintf has been removed
2014-04-05 16:12:09 -07:00
Kevin Lange
6f4d55aeff
workaround not having a real readline-ish in debug shell
2014-03-26 21:41:58 -07:00
Kevin Lange
1e91dea4cc
Move rtl experiments into separate module
2014-03-24 20:00:16 -07:00
Kevin Lange
e0ac170a18
terminal size divination should be a command
...
and don't do it by default
2014-03-23 20:18:11 -07:00
Kevin Lange
17d092e3ff
Ramdisk support (again)
2014-03-18 21:37:12 -07:00
Kevin Lange
8080a74a2d
Module dependencies
2014-03-18 20:11:56 -07:00
Kevin Lange
cc0c32f278
Detect segfaults in modules and print information
2014-03-16 14:39:39 -07:00
Kevin Lange
1ccd39de5c
kill kprint_to_screen
2014-03-15 23:56:10 -07:00
Kevin Lange
b46d632116
serial, null, zero to modules
2014-03-15 19:48:51 -07:00
Kevin Lange
dba78d67d2
those are kibibytes
2014-03-15 00:50:17 -07:00
Kevin Lange
99db031259
Module listing shell commands
2014-03-15 00:03:48 -07:00
Kevin Lange
903f7f6524
Expose shell to other modules (TODO: dependencies)
2014-03-14 23:37:42 -07:00
Kevin Lange
91767bcc69
Debug shell as a module
2014-03-14 23:17:59 -07:00