Age | Commit message (Collapse) | Author |
|
|
|
|
|
most syscalls will have to do this to copy memory around or whatever.
it's pretty ugly too, but i can't come up with a better abstraction...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
i'm using bochs for debugging now anyways, and this will be useful
for serial output
|
|
it's kinda bad. it passes the tests, though...
|
|
|
|
|
|
If gcc is built with a different $PREFIX than binutils, it won't even
attempt using them - it will use the system assembler instead, which
fails for obvious reasons.
|
|
It compiles, but the resulting gcc binary doesn't actually work.
Maybe it's too new for the binutils?
|
|
|
|
|
|
it currently only checks if the path is valid, it's the bare minimum
needed to write tests
|
|
i'll be adding a TEST_STR macro soon, so TEST_COND makes more sense
|
|
what's the point, we have real tests now
|
|
|
|
will be used to test functions operating on strings
|
|
|
|
|
|
i'll use it outside of panic.h
|
|
|
|
i'm a terrible writer
|
|
|
|
|
|
|
|
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
|
|
|
|
gets rid of the double panic() call
|
|
|
|
|
|
|
|
|
|
|
|
|
|
when doing anything more complex than starting a new program, you pretty
much need to pass a full register dump. otherwise stuff will break
|
|
|
|
|
|
|
|
|
|
|