Philipp Oppermann
0b9ca84735
Rewrite "A Freestanding Rust Binary" ( #577 )
...
- solve linker errors by compiling for thumbv7em-none-eabihf
- make old section about linker arguments optional content
- use different linker arguments on Windows and macOS to use the `_start` entry point on all OSs
- Add an (optional) section that explains how to set linker arguments in .cargo/config
- Add an (optional) section that discourages the linker arguments approach and recommends the `#[start]` attribute instead
- reorganize section levels
2019-04-11 15:28:51 +02:00
Philipp Oppermann
6015feb511
Update 'Paging Implementation' post for bootloader 0.5.1
2019-04-06 17:49:31 +02:00
Philipp Oppermann
b8667c45dd
Update "Minimal Rust Kernel" to new bootloader 0.5.1 and bootimage 0.7.2
2019-04-06 16:46:10 +02:00
Philipp Oppermann
beb1306a1d
Move warnings before toc to fix toc placement
...
The placement was off for pages with warnings.
2019-04-04 13:59:07 +02:00
Philipp Oppermann
6eb9c83345
Spell out post-* branch names in posts
2019-04-03 12:12:48 +02:00
Philipp Oppermann
bbe2fe000d
Use <div> instead of <article> for post list
...
The <article> tag is for self-contained content, which the post list isn't really. I hope that this change makes search engines display the blog's introduction instead of the first post's introduction in their results.
2019-03-27 19:26:59 +01:00
Philipp Oppermann
8397cae2be
Update to zola 0.6.0
2019-03-26 12:34:36 +01:00
Philipp Oppermann
11ae72b2e2
Use toc-aside id in first edition too so that CSS is applied again
2019-03-26 12:34:05 +01:00
Philipp Oppermann
6a07fea2d7
Fix ToC resizing
...
The `#toc` id was renamed to `#toc-aside`.
2019-03-20 23:37:56 +01:00
Philipp Oppermann
5cd435b755
Add a small margin after the ToC Heading
2019-03-19 13:24:59 +01:00
Philipp Oppermann
0605fc54df
Move the ToC of Paging Implementation after the aside
2019-03-19 13:24:41 +01:00
Philipp Oppermann
48d96243ea
Add an inline table of contents to all posts
2019-03-19 13:01:25 +01:00
Philipp Oppermann
6055a2e342
Add an inline table of contents for small screens
...
This ToC is only shown when the screen is too small for the sticky sidebar ToC.
We use a `<!-- toc -->` comment and the `replace` function to allow inserting the ToC at well defined points of the page. We don't use the shortcode feature of Zola because of https://github.com/getzola/zola/issues/584 .
2019-03-19 12:58:15 +01:00
Philipp Oppermann
d0c0cd8ed7
Use non-breaking spaces for subtitle
2019-03-19 12:52:59 +01:00
Philipp Oppermann
fe19af668d
Make table of contents sticky instead of fixed
...
Fixed looks a bit strange with the new `All Posts` link.
2019-03-19 12:52:31 +01:00
Philipp Oppermann
06ec0dbf25
Rename id of ToC aside from toc to toc-aside
2019-03-19 12:51:43 +01:00
Philipp Oppermann
06b334396a
Provide an All Posts link on posts that points back to the index page
2019-03-18 10:27:54 +01:00
Philipp Oppermann
cc0f68448b
Fix swapped changelog links
2019-03-15 10:46:30 +01:00
Philipp Oppermann
fc5fd7f86b
Remove unneeded into_iter call in Paging Implementation post
2019-03-14 13:21:02 +01:00
Philipp Oppermann
82256aaa2f
Use zola's page_template feature
2019-03-14 12:58:10 +01:00
Philipp Oppermann
c655a61290
Point bootloader doc links to version 0.4.0
2019-03-14 11:20:48 +01:00
Philipp Oppermann
7b88ebcaf6
Update bootloader dependency in post to 0.4.0
2019-03-14 11:20:36 +01:00
Philipp Oppermann
b496f835dc
Set publish date
2019-03-14 10:13:04 +01:00
Philipp Oppermann
5ce8eabffb
Fix code link to current HEAD of post-10 branch
...
The code in the post-10 branch will be replaced with the code of the new "Paging Implementation" post.
2019-03-13 15:10:32 +01:00
Philipp Oppermann
c069cdde69
Minor improvements
2019-03-13 15:01:07 +01:00
Philipp Oppermann
c734bc472f
Link to the page table flag list of the previous post
2019-03-13 15:01:07 +01:00
Philipp Oppermann
42d94c3d50
Fix missing imports in code examples
2019-03-13 15:01:07 +01:00
Philipp Oppermann
154f10c3a0
Add missing unsafe in code example
2019-03-13 15:01:07 +01:00
Philipp Oppermann
1041754c71
Provide more context in code example
2019-03-13 15:01:07 +01:00
Philipp Oppermann
b8a3bb44df
Simplify the active_level_4_table function
2019-03-13 15:01:07 +01:00
Philipp Oppermann
23e70e0e9c
Add a second temporary mapping to figure to make things clearer
2019-03-13 15:01:07 +01:00
Philipp Oppermann
f34725de85
Fix grammar
2019-03-13 15:01:07 +01:00
Philipp Oppermann
15668849d2
Minor fixes
2019-03-13 15:01:07 +01:00
Philipp Oppermann
8efa53761e
Cleanup: remove replaced content from Advanced Paging post
2019-03-13 15:01:07 +01:00
Philipp Oppermann
a72810e1ab
Rewrite and extend introduction
2019-03-13 15:01:07 +01:00
Philipp Oppermann
409527caca
Deprecate the Advanced Paging post
2019-03-13 15:01:07 +01:00
Philipp Oppermann
bf66b29225
Update images
2019-03-13 15:01:07 +01:00
Philipp Oppermann
96f543b2d4
Finish implementation section
2019-03-13 15:01:07 +01:00
Philipp Oppermann
053b2d3c23
Complete section about translating addresses
2019-03-13 15:01:07 +01:00
Philipp Oppermann
d09dd7ff1f
Begin implementation section
2019-03-13 15:01:07 +01:00
Philipp Oppermann
4197382855
Resolve some TODOs and other minor improvements
2019-03-13 15:01:07 +01:00
Philipp Oppermann
d0e995d221
Update the Accessing Page Tables section
2019-03-13 15:01:07 +01:00
Philipp Oppermann
cb6d46a582
Require x86_64 0.5.0 and bootloader 0.4.0
2019-03-13 15:01:07 +01:00
Philipp Oppermann
fee3e34378
Create Bootloader Support section
2019-03-13 15:01:07 +01:00
Philipp Oppermann
c3abefd745
Begin restructuring the post
...
- Add page table access code from previous post
- Make each page table access technique its own subsection
- Make details of recursive paging optional
- Add short codesnippets how to implement recursive paging
- Add disadvantages of recursive paging
2019-03-13 15:01:07 +01:00
Philipp Oppermann
b19e350dc4
Create a copy of the advanced paging post
2019-03-13 15:01:07 +01:00
Philipp Oppermann
7e4c8285dd
Move images
2019-03-13 15:01:07 +01:00
Philipp Oppermann
8d54b92ded
Update paging introduction post to not use the recursive address
...
The upcoming breaking version of the bootloader will not create a recursive mapping unless requested through a cargo feature. So we move the last section to the next post where we introduce these cargo features.
2019-03-13 15:01:07 +01:00
Philipp Oppermann
aa0a876e19
Add styling for details elements
2019-03-13 15:00:28 +01:00
Philipp Oppermann
ddbe36c0dc
Update x86_64 to version 0.5.2
...
This is required for the upcomping _Paging Implementation_ post.
2019-03-12 17:47:58 +01:00