Kevin Lange
8d0ebc5042
Fix forking?
2011-12-06 19:46:22 -06:00
Kevin Lange
8f07b1a417
[mem/task] Fix broken handling of page faults
...
The method I was using resulted in a loop of halts attempting
to remove process 0 from the thread queue if the kernel itself
was doing the faulting. This should fix that. Once there are
no more processes available, we bail out and call STOP.
2011-11-29 07:02:05 -06:00
Kevin Lange
31c07ba434
Fix some signed/unsigned issues
2011-11-18 00:00:54 -06:00
Kevin Lange
20d89355dc
[vfs] Working directories, I hope
2011-11-17 15:55:59 -06:00
Kevin Lange
e604e4d655
[core] Some extra macros to make life easier
2011-10-31 01:17:26 -05:00
Kevin Lange
13540d43ae
Remove some warnings and errors from gcc
2011-10-21 13:01:12 -05:00
Kevin Lange
202d5af168
Fix broken task switching. [...]
...
We failed to inform the compiler of which registers we were clobbering
in performing that bit of assembly, so it did a wonderfully fun thing
and move esp into %ecx, eip into something, that something into %ecx,
then tried to load %ecx into %esp. Oops. *boom*.
2011-10-21 12:28:39 -05:00
Kevin Lange
c430668e8a
[task] Drop debug output for fork stacks (that's all cleared up)
2011-04-18 15:04:27 -05:00
Kevin Lange
3017ffb8e7
[sys] I am very unhappy with most of this
2011-04-17 18:54:40 -05:00
Kevin Lange
3c299a19ed
[sys] sbrk, fix stacks?
2011-04-17 18:28:40 -05:00
Kevin Lange
eb0c5d05e1
[sys] Holy crap.
2011-04-17 17:44:29 -05:00
Kevin Lange
254ceb51ab
[sys] More system calls, more stability, kill bad processes
2011-04-17 13:26:31 -05:00
Kevin Lange
ad7d5d7acc
[sys] read/write/open/close, also cat
2011-04-16 20:01:04 -05:00
Kevin Lange
28a36e3a91
[task] Don't free the task struct for now. Find a better way of doing this.
2011-04-11 20:06:58 -05:00
Kevin Lange
7eb44a784b
[task] Make sure we free everything. WARNING: this actually breaks some things as is
2011-04-11 20:05:40 -05:00
Kevin Lange
679bd270f4
[mem] That should fix a bunch of stuff.
2011-04-11 14:17:15 -05:00
Kevin Lange
67901b3bf7
I definitely broke a bunch of stuff.
2011-04-08 17:53:52 -05:00
Kevin Lange
fabd941361
[task] Actually deschedule tasks that exit
2011-04-08 16:26:34 -05:00
Kevin Lange
e273784242
[elf] Execute simple static ELF binaries.
2011-04-08 15:27:12 -05:00
Kevin Lange
cde56093d2
[panic] Updated panic screen
2011-03-30 02:16:30 -05:00
Kevin Lange
3f8a8e62ab
[user] Still slightly broken userspace
2011-03-29 21:08:56 -05:00
Kevin Lange
516490a711
[hacks] HACKS
2011-03-28 20:34:53 -05:00
Kevin Lange
6d95cf95a0
[mem] Various fixes. gcc4.4 and 4.5 hate me, use 4.3 or a clange >2.0
2011-03-28 00:26:35 -05:00
Kevin Lange
5408885078
[This too, sorta]
2011-03-27 23:58:54 -05:00
Kevin Lange
f4f780ed90
[TEMP FIX] This is a temporary attempt to fix forking.
2011-03-27 23:52:02 -05:00
Kevin Lange
41493d779c
[task] Fuck everything about this, but it finally works.
2011-03-24 18:49:57 -05:00
Kevin Lange
45082c1011
[task] Sometimes, we have only the kernel.
2011-03-18 22:27:43 -05:00
Kevin Lange
0b3ecfd4e4
Less-broken context switching, maybe? Also, run the terminal, type 'exit'
2011-03-03 23:12:26 -06:00
Kevin Lange
24ff0b84f2
Merge branch 'master' of github.com:klange/osdev
2011-03-03 01:39:46 -06:00
Kevin Lange
58dc0bb922
[task] Minor stuff
2011-03-03 01:39:26 -06:00
Kevin Lange
a2bea1ab48
[debg] Remove debug text from various places
2011-03-02 00:54:15 -06:00
Kevin Lange
ee04a7271d
[task] Holy crap, tasking. That took forever and it's still broken.
2011-03-01 17:48:39 -06:00