Display updated on for Entering Long Mode post

This commit is contained in:
Philipp Oppermann
2015-10-29 19:28:32 +01:00
parent 5dde1afc38
commit 99be56f9b8
2 changed files with 7 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ layout: post
title: 'Entering Long Mode' title: 'Entering Long Mode'
category: 'rust-os' category: 'rust-os'
redirect_from: "/rust-os/2015/08/25/entering-longmode/" 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. 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.

View File

@@ -22,7 +22,12 @@ title: Home
</a> </a>
</h1> </h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time> <span class="post-date">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
{% if post.updated %}
(updated on {{ post.updated | date_to_string }})
{% endif %}
</span>
{% if post.content contains '<!--more-->' %} {% if post.content contains '<!--more-->' %}
{{ post.content | split:'<!--more-->' | first }} {{ post.content | split:'<!--more-->' | first }}