mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Publish long mode post
This commit is contained in:
@@ -281,4 +281,4 @@ In the [next post] we will create a page table and do some CPU configuration to
|
|||||||
[Makefile tutorial]: http://mrbook.org/blog/tutorials/make/
|
[Makefile tutorial]: http://mrbook.org/blog/tutorials/make/
|
||||||
[automatic variables]: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
|
[automatic variables]: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
|
||||||
|
|
||||||
[next post]: #TODO
|
[next post]: {% post_url 2015-08-25-entering-longmode %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: post
|
layout: post
|
||||||
title: '[DRAFT] Entering Long Mode in small steps'
|
title: 'Entering Long Mode in small steps'
|
||||||
---
|
---
|
||||||
In the [last post] we created a minimal multiboot kernel. It just prints `OK` and hangs. Let's extend it! The goal is to call 64-bit [Rust] code. But the CPU is currently in [Protected Mode] and allows only 32-bit instructions and up to 4GiB memory. So we need to setup _Paging_ and switch to the 64-bit [Long Mode] first.
|
In the [last post] we created a minimal multiboot kernel. It just prints `OK` and hangs. Let's extend it! The goal is to call 64-bit [Rust] code. But the CPU is currently in [Protected Mode] and allows only 32-bit instructions and up to 4GiB memory. So we need to setup _Paging_ and switch to the 64-bit [Long Mode] first.
|
||||||
|
|
||||||
Reference in New Issue
Block a user