This commit is contained in:
travis-update-bot
2015-11-06 23:41:33 +00:00
parent ef0bdc6986
commit cb463cc70f
4 changed files with 4 additions and 0 deletions

View File

@@ -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.