mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add redirects again
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'A minimal x86 kernel'
|
||||
redirect_from: '/rust-os/2015/08/18/multiboot-kernel/'
|
||||
---
|
||||
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'
|
||||
redirect_from: "/rust-os/2015/08/25/entering-longmode/"
|
||||
updated: 2015-10-29 00:00:00 +0000
|
||||
---
|
||||
In the [previous post] we created a minimal multiboot kernel. It just prints `OK` and hangs. The goal is to extend it and 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.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'Setup Rust'
|
||||
redirect_from: "/rust-os/2015/09/02/setup-rust/"
|
||||
---
|
||||
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 [Rust] code. Rust is a high-level language without runtime. It allows us to not link the standard library and write bare metal code. Unfortunately the setup is not quite hassle-free yet.
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'Printing to Screen'
|
||||
redirect_from: "/rust-os/2015/10/23/printing-to-screen/"
|
||||
---
|
||||
In the [previous post] we switched from assembly to [Rust], a systems programming language that provides great safety. But so far we are using unsafe features like [raw pointers] whenever we want to print to screen. In this post we will create a Rust module that provides a safe and easy-to-use interface for the VGA text buffer. It will support Rust's [formatting macros], too.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user