Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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
|
|
|
|
|
|
when doing anything more complex than starting a new program, you pretty
much need to pass a full register dump. otherwise stuff will break
|
|
|
|
|
|
VGA is only mapped into the virtual memory because there are no other
ways of interacting with the OS.
|
|
|
|
The idea is that src/kernel/ is only allowed to interface with the
hardware using whatever's defined in src/arch/generic.h. I'll probably
write a small script for checking this later on.
This is a giant commit so I've probably fucked something up. It boots
fine on Bochs and QEMU, so at least there's that.
|
|
|