Age | Commit message (Collapse) | Author |
|
|
|
The length is a int, because the syscall will have a signed output. A
negative return value will mean an error (such as when it gets called
by a childless process).
|
|
|
|
|
|
|
|
I'm about to need that for waits(). There's no single list of processes
for simplicity's sake, but the search will now be even slower and it
might even introduce a potential vuln! How fun! Someone could override
stuff in .bss with random values. I'll either make gcc check if it
hasn't gone past the end of the stack, or turn this into a non recursive
function.
|
|
it's only meant to create the root process, the old name could've been
misleading
|
|
i used a linked list because it's the simplest way to implement this
|
|
|
|
|
|
|
|
VGA is only mapped into the virtual memory because there are no other
ways of interacting with the OS.
|
|
|