It looks like they borrowed the code from Intel. It's the code from Volume 3 9.10 "INITIALIZATION AND MODE SWITCHING EXAMPLE":
https://github.com/cirosantilli/x86-bare-metal-examples/blob...
https://github.com/cirosantilli/x86-bare-metal-examples/blob...
No comments yet.