Closed steveklabnik closed 8 years ago
Awesome work! It seems that you don't use naked functions? Why not?
@ticki @eddyb I should. this code originally landed since before naked functions had existed, but now that they do, i should make use of them.
I've been following along with your development and it's looking great to me! Excited for the upcoming work on the kernel 👍
Merging this for now, because it's still an improvement. I'll open issues for the other stuff.
This is a big refactoring of the way interrupts are handled. I took some inspiration from @phil-opp, @emk, Redox, (specifically, @ticki) and an
inb
/outb
combo from @thepowersgang. All different bits of their OSes' code and several OSDev/OSDevr tutorials. Whew!These commits should probably be cleaned up, and this isn't even quite in a final state; I should be using a
lazy_static
rather than making thingsCopy
, and I would like to move a lot of these home-grown structures to thex86
crate instead. But before I do, I wanted to have written it all myself. Ha!Thoughts, all?