mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add posts to rust-os category
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'A minimal x86 kernel in small steps'
|
||||
category: 'rust-os'
|
||||
---
|
||||
This post explains how to create a minimal x86 operating system kernel. In fact, it will just boot and print `OK` to the screen. The following blog posts we will extend it using the [Rust] programming language.
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'Entering Long Mode in small steps'
|
||||
category: 'rust-os'
|
||||
---
|
||||
In the [previous 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