Looking forward to the next post! Thanks for all your hard work on this, this tutorial series is incredibly enlightening.
{% raw %}
Looking forward to the next post! Thanks for all your hard work on this, this tutorial series is incredibly enlightening.
Thanks a lot! The next post is nearly done: https://github.com/phil-opp...
See also the discussions on hacker news and /r/rust!
Hey everybody!
I am stuck with #reproducing-the-bug-in-qemu. I cannot reproduce the alignment issue, neither in QEMU (with -enable-kvm) nor on real hardware.
Has anyone an idea how to force the misalignment?
I think that this could be a side effect of the recent update of our VGA driver code, which introduces volatile writes.
With volatile, the compiler can no longer use SSE instructions to combine multiple VGA buffer writes. The SSE instructions are the instructions that require the 16 byte alignment. So without them, the error no longer occurs. (Of course the issue is still there. We just need a different code sample to trigger it.)
I'll try to take a closer look on this issue in the next few days. Thanks a lot for your this!
I've updated the post: https://github.com/phil-opp...
We now add some garbage code to the `divide_by_zero_handler`, which should compile to a `movaps` instruction again. This should lead to a bootloop on real hardware. Does it work for you?
Yay ! New post !
I'm so impatient to read the next one ^^
Thank you a lot for what you're doing :)
You're welcome :). I plan to start writing on the next one in the next few days, but I can't promise anything.
Oh so there will be no need to wait for months before the next post ?
Great !
I hope so ;).
Some news about the next post ? :D
The last weeks were quite busy, so I couldn't write on it much. I hope that I can find some time on the weekend.