Commit Graph

658 Commits

Author SHA1 Message Date
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
Philipp Oppermann
9011a8a123 Use the new MapperAllSizes::translate_addr function in Post 10 2019-03-09 13:46:55 +01:00
Philipp Oppermann
4c68f8a541 The int3 function was moved into the interrupts submodule 2019-03-09 13:18:46 +01:00
Philipp Oppermann
8ea576263c Update x86_64 to version 0.5.0 2019-03-09 13:16:46 +01:00
Philipp Oppermann
d2852ce966 ExceptionStackFrame was renamed to InterruptStackFrame 2019-03-09 13:13:40 +01:00
Philipp Oppermann
b95ec88e4f Update x86_64 doc links to version 0.5.0 2019-03-09 13:13:40 +01:00
Antoine
c14d1db833 🎨 format hex numbers to improve readability (#565) 2019-03-08 15:48:50 +01:00
Antoine
3a3bb7fb38 ✏️ fix typos (#563)
`create_example_mapping` was written `create_mapping` in several lines
2019-03-08 13:50:58 +01:00
Sergey Elantsev
23e2136e47 fixed Keyboard::process_keyevent link (#564) 2019-03-08 13:49:49 +01:00
Sergey Elantsev
715318707e double-faults misspell fixed (#561) 2019-03-03 11:51:22 +01:00
Philipp Oppermann
fb02b0c340 Update Hardware Interrupts post for #557 2019-02-25 18:17:42 +01:00
esplo
a7f9477e95 fix typo: 'can used' -> 'can be used' (#559) 2019-02-18 16:30:54 +01:00
chenli
58165264c6 Fix outdated links in CPU Exceptions (#555) 2019-02-12 09:16:47 +01:00