Add posts to rust-os category

This commit is contained in:
Philipp Oppermann
2015-08-25 17:09:14 +02:00
parent 87f36584c2
commit 589f540b28
3 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
--- ---
layout: post layout: post
title: 'Setup Rust in small steps' title: 'Setup Rust in small steps'
category: 'rust-os'
--- ---
In the previous posts we created a [minimal Multiboot kernel][multiboot post] and [switched to Long Mode][long mode post]. Now we can finally switch to sweet Rust code. [Rust] is a beautiful high-level language that has no runtime. It allows us to not link the standard library and write bare metal code. Unfortunately the setup is not quite hassle-free yet. In the previous posts we created a [minimal Multiboot kernel][multiboot post] and [switched to Long Mode][long mode post]. Now we can finally switch to sweet Rust code. [Rust] is a beautiful high-level language that has no runtime. It allows us to not link the standard library and write bare metal code. Unfortunately the setup is not quite hassle-free yet.

View File

@@ -1,6 +1,7 @@
--- ---
layout: post layout: post
title: 'A minimal x86 kernel in small steps' 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. 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.

View File

@@ -1,6 +1,7 @@
--- ---
layout: post layout: post
title: 'Entering Long Mode in small steps' 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. 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.