ferrous26 / cs452-flaming-meme

CS452 Real Time Programming
MIT License
2 stars 1 forks source link

The dream #107

Closed ferrous26 closed 10 years ago

ferrous26 commented 10 years ago

kernel.c is now this:

#include <kernel/core.c>
#include <kernel/irq.c>
#include <kernel/clock.c>
#include <kernel/io.c>
#include <kernel/abort.c>

And all kernel specific source files live in src/kernel like they should have to begin with. This hack lets everything live in the same file during compilation, but allows code to actually live in separate files for development.

As long as we maintain proper practices for things, there should be no issue with treating src/kernel files like any other C file.

ferrous26 commented 10 years ago

P.S. It compiles

ferrous26 commented 10 years ago

I lied when I said we can treat it like any other C file...we can make almost everything a static function now.

ferrous26 commented 10 years ago

Done.