-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update new hardware interrupts post #473
Update new hardware interrupts post #473
Conversation
87f6e73
to
0212ca4
Compare
164e9a8
to
87f6e73
Compare
Thanks a lot for helping to get this over the finish line! Do you have any feedback or suggestions for the post? I'm still not happy with the main.rs/interrupts.rs split. Ideally, I would like all interrupt related code in interrupt.rs, including the IDT and the exception handlers. The question is whether I should add a refactoring step to this guide or update the previous exception posts to use interrupts.rs right from the start… |
I'm having trouble merging this because it would clutter the history. I tried to merge it manually, but github does not mark this PR as merged then. Could you rebase your PR on top of the current hardware-interrupts branch to solve this? (If you're fine with manually merging and closing this PR, that's fine for me too.) |
If you're asking me, I'd probably prefer to place everything to do with interrupts in
Sure thing, I'll rebase the changes and update this PR. 👍 |
* Make changes to code examples. * Explain that panic_implementation has been deprecated * Update attributes in source code.
It existed only for a very short time, so I think that not many people will remember this attribute.
Closes #470
As I'm moving on and testing the code, I've found that this section isn't totally accurate:
When I run this in QEMU, it only prints the first I'll update this PR with a few updates and finish it off. If you have any objections let me know. 🙂 |
That's all the gifs and changes needed to finish the post as it is. If we want to re-write the previous exception posts to use |
@phil-opp for when you get the chance to have a look, here's the current diff of the re-write which places all exception code in |
Sorry for the delay, I was busy yesterday. Looks good to me! |
Thanks so much for your contributions! |
Haha no worries mate, there's no rush! 👍 |
Hey there, this PR updates the new
hardware-timer
branch with the following:master
so it pulls in those extra changesEDIT: I just noticed that some more content has been added recently (I hadn't seen your updates from 5 days ago). So, this basically gets everything working before those updates.
If you'd like, I'm happy to continue through and provide all the other missing pieces (screenshots, etc) from your more recent updates as well. Just say the word. 🙂