Kevin Lange
f5be45a2c9
lots of legacy cleanup
2013-12-15 21:33:46 -08:00
Kevin Lange
2ced88cf33
make kernel hashmap generic
2013-12-15 20:27:06 -08:00
Kevin Lange
6629eed64a
debug shell cleanup
2013-12-14 13:47:18 -08:00
Kevin Lange
ed3c578e64
clean up some legacy util stuff
2013-12-13 20:50:04 -08:00
Kevin Lange
ebe1c24dbd
Some sort of PCI subsystem, maybe
2013-12-12 23:40:52 -08:00
Kevin Lange
ee978f3dbe
Fix freeing keys, add another test
2013-12-01 23:50:13 -08:00
Kevin Lange
902b0342b9
Add some more hashmap functions
...
And port kernel console command lookup to use a hashmap.
2013-12-01 23:29:40 -08:00
Kevin Lange
204d9bb6ce
Remove debug logging from hashmap
2013-12-01 21:46:23 -08:00
Kevin Lange
6fde2533a1
Better hash function
2013-12-01 21:40:39 -08:00
Kevin Lange
26cfa78f89
Use hashmap for args
...
There, now it's fast.
2013-12-01 21:22:06 -08:00
Kevin Lange
68941f6afd
Simple hashmap
2013-12-01 21:19:09 -08:00
Kevin Lange
a376ab2563
Fix some weirdness
2013-12-01 20:07:31 -08:00
Kevin Lange
56ad9598d0
New kernel args parser
...
I know, this is a lot slower than the old one, but it's a transition to
a new-new args parser that will use a hashmap... as soon as I get around
to writing a hashmap implementation.
2013-12-01 19:37:22 -08:00
Kevin Lange
1cbd26689b
Some FS navigation in the debug console
...
Since I'm working on VFS rewrites...
2013-11-30 22:27:45 -08:00
Kevin Lange
89cb3c8dbd
A reasonable shell command system
2013-11-30 00:09:04 -08:00
Kevin Lange
382a24adb8
Fix run-config to work with serial tty
2013-11-28 15:58:57 -08:00
Kevin Lange
2978d31461
Unrecognized command
2013-11-27 22:47:05 -08:00
Kevin Lange
283ac3c824
Add some tokenizing
2013-11-27 22:41:27 -08:00
Kevin Lange
8c469883bc
Wrap serial console in a TTY
2013-11-27 22:24:58 -08:00
Kevin Lange
3c9a717429
Tasklet cleanups, make kttydebug useful
2013-11-27 21:21:39 -08:00
Kevin Lange
e95c9eb40b
Fix procfs when no cmdline is present
2013-11-27 21:21:09 -08:00
Kevin Lange
5a422a58c7
Bump version number
2013-11-27 19:15:36 -08:00
Kevin Lange
10f4cc6811
Tasklets; fix dead sleep; kernel serial console
...
- Tasklets are essentially kernel threads. Still working on passing
arguments to them, but they essentially just run functions and have
special names like [[kttydebug]]. Eventually, I want disk scheduling
and various (non-interrupt-driven) drivers running on these, but I'm
still not sure how stable they are.
- Fix the scheduler so it supports not having anything to run. This took
some tracking of what's running, and then inserting some liberal
sleeps. Doesn't appear to break anything. Makes the system work when
you try to sleep with only one process "running", so that's good.
- Start working on reimplementing the old kernel shell, but this time as
a tasklet running in the background over serial. Probably going to try
to add all the same features as before (tab completion, history, rich
editing), but it may take some time to get it all in there. This
console is mostly focused on helping with debugging EXT2 and other
future stuff.
2013-11-27 19:11:58 -08:00
Kevin Lange
8dfd4ff20a
Make serial devices more useful
...
They now use interrupts and thus can be blocked on without sitting in a
busy loop. Not sure if they still work perfectly, need to debug. Works
fine with the console "serial" stuff in qemu.
Todo: Investigate further.
2013-11-27 19:10:38 -08:00
Kevin Lange
922fdd5f38
None of this actually works, but whatever
2013-08-19 19:38:15 -07:00
Kevin Lange
7351fa308b
Various fixes to help get bash working
2013-08-04 00:04:22 -07:00
Kevin Lange
948813d0be
Fix buffer clearing and dumping when switching modes
2013-07-27 22:21:04 -07:00
Kevin Lange
720a62d6aa
ICANON support (still a bit rough)
...
This is a massive hack and I admit it.
2013-07-27 22:01:08 -07:00
Kevin Lange
40f0c41932
Preliminary termios support
...
This is some initial work on support real PTYs.
Canonical mode is not supported at the moment.
2013-07-27 00:18:29 -07:00
Kevin Lange
6ad55d68d2
(debugging) export files to sdb with a sysfunc
2013-07-22 22:41:14 -07:00
Kevin Lange
ee90317940
bump version for new development line
2013-07-22 20:50:49 -07:00
Kevin Lange
9dbb0f4422
0.5.0-rel tag
2013-07-14 22:38:24 -07:00
Kevin Lange
046d972694
docs
2013-07-11 18:17:26 -07:00
Kevin Lange
147f73b305
Temporarily use a tmpfs for local's home dir
2013-06-28 00:16:56 -07:00
Kevin Lange
4c2801beeb
Even more strict ext2fs write disabling
2013-06-12 22:24:02 -07:00
Kevin Lange
1dde9dfcb5
Fix argv storage for init
2013-06-06 18:29:22 -07:00
Kevin Lange
0f344f2900
Rewrite fork/clone.
...
This is still a bit ugly, needs cleanup.
Fixes that weird GCC issue.
2013-06-06 18:04:13 -07:00
Kevin Lange
e70ebf8857
Big fat cleanup and GCC fix batch
2013-06-05 23:10:36 -07:00
Kevin Lange
ff8fd63e62
Fix bad assignment in tmpfs (thx clang)
2013-05-22 16:26:37 -07:00
Kevin Lange
0a064bf3da
Remove an unused thing
2013-05-22 01:47:43 -07:00
Kevin Lange
ae08c74115
I'll stop the world and melt with you
...
(but I won't stop the world to load binaries)
2013-05-22 01:34:56 -07:00
Kevin Lange
ad19c5eb01
change comment in randomdev
2013-05-21 15:34:18 -06:00
Kevin Lange
4868960364
Build ALL the things!
2013-05-12 00:38:56 -07:00
Kevin Lange
c8aa5462a8
Cleaner syscall handling
2013-05-08 22:11:02 -07:00
Kevin Lange
1e664bef2b
Integrate signals into libc
2013-05-05 15:00:24 -07:00
Kevin Lange
edccf2927b
Unbreak ramdisks
2013-04-27 22:04:20 -07:00
Kevin Lange
71bafd0174
Fix kernel heap allocation
2013-04-27 22:04:03 -07:00
Kevin Lange
fde9c6d652
New ioctl commands and userspace improvements
2013-04-27 01:16:36 -07:00
Kevin Lange
5d71eeb013
Kernel stacks are big enough for those...
2013-04-27 01:13:47 -07:00
Kevin Lange
672274d5ae
More initial stack space [maybe temporary]
2013-04-26 01:04:21 -07:00