Commit Graph

540 Commits

Author SHA1 Message Date
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
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
Philipp Oppermann
9e090175a5 Fix level 2 table entry in figure 2019-02-11 10:31:26 +01:00
Tair Sabirgaliev
345726265b fix the integration test link (#554) 2019-02-10 00:15:23 +01:00
Philipp Oppermann
aa09d2f719 The first post is now buildable on stable Rust (#551) 2019-02-07 16:24:00 +01:00
Philipp Oppermann
1f27ca5352 Clarify why we disable SSE for our kernel 2019-02-07 12:05:55 +01:00
Philipp Oppermann
131be53b1a Add missing [panic] link 2019-02-05 22:17:57 +01:00
Philipp Oppermann
47092acf8c Use repr(transparent) for vga_buffer::{ColorCode, Buffer} 2019-02-05 10:53:55 +01:00
Steve Hess
82f249ca6f fix broken links in VGA buffer post (#546) 2019-02-04 11:46:32 +01:00
Philipp Oppermann
6fe331397c Update translate_addr code example
This makes the function safe again because no level 4 address is passed in. It also avoids bit-shifts which only work if the recursive index is 0o777.
2019-02-03 14:34:36 +01:00
Philipp Oppermann
8306f3e2da Note in Advanced Paging post that x86_64>=0.4.0 is required 2019-02-03 13:37:57 +01:00
Aaron Hill
0c5e303175 Make translate_addr unsafe (#544)
This function casts a usize argument to a pointer, and dereferences it.
This is undefined behavior unless level_4_table_addr is the address of a
valid PageTable, so the function should be marked 'unsafe'
2019-02-01 12:39:14 +01:00
Philipp Oppermann
b9ff59fd75 Add a note about the rename of FrameAllocator::allocate_frame 2019-01-29 08:52:17 +01:00
Philipp Oppermann
8b279bf34b Fix memory addresses in code example 2019-01-29 08:41:03 +01:00
Philipp Oppermann
a238fe99a9 Fix source code link for "Advanced Paging" post 2019-01-28 14:02:26 +01:00
Philipp Oppermann
cc36ae536b Fix code snippets and improve their formatting 2019-01-28 11:31:45 +01:00
Philipp Oppermann
fa40f1a83f Resolve TODOs 2019-01-28 11:11:24 +01:00
Philipp Oppermann
196e5c4419 Spelling and grammar fixes 2019-01-28 11:11:24 +01:00
Philipp Oppermann
ffa25d1d9c Improve What's next? 2019-01-28 11:11:24 +01:00
Philipp Oppermann
ed649f0516 Improvements 2019-01-28 11:11:24 +01:00
Philipp Oppermann
df84c2b28d Link the post-10 branch 2019-01-28 11:11:24 +01:00
Philipp Oppermann
e8b5faf1d5 Add introduction 2019-01-28 11:11:24 +01:00
Philipp Oppermann
8c3b9e6508 Continue improving post 2019-01-28 11:11:24 +01:00
Philipp Oppermann
5e756c9fd3 Fixes, improvements, new content 2019-01-28 11:11:24 +01:00
Philipp Oppermann
a3e7ad1fa8 Fix typo in graphics and replace SVGs with PNGs
The SVG have rendering problems on some devices, e.g. when the text is zoomed.
2019-01-28 11:11:24 +01:00
Philipp Oppermann
bcc590e65f Create memory module in memory.rs instead of memory/mod.rs 2019-01-28 11:11:24 +01:00
Philipp Oppermann
7cb62ee7fe Make Recursive Page Tables a subsection 2019-01-28 11:11:24 +01:00
Philipp Oppermann
660528bb52 Minor rewordings 2019-01-28 11:11:24 +01:00
Philipp Oppermann
4cec9642ab Update from gutenberg to zola 2019-01-28 11:11:24 +01:00
Philipp Oppermann
257125b8c8 Various minor improvements to post 2019-01-28 11:11:24 +01:00
Philipp Oppermann
e46f8c5187 Introduce boot info later; continue post 2019-01-28 11:11:24 +01:00
Philipp Oppermann
41b21914be The page fault section was moved to the paging-introduction post 2019-01-28 11:11:24 +01:00
Philipp Oppermann
1ff102dc27 Continue post 2019-01-28 11:11:24 +01:00
Philipp Oppermann
47915fd4a0 Trim trailing whitespace 2019-01-28 11:11:24 +01:00
Philipp Oppermann
6d5ebf56a4 Revise post and add new introduction 2019-01-28 11:11:24 +01:00
Philipp Oppermann
7bb7efc705 Rename second paging post to 'Advanced Paging' 2019-01-28 11:11:06 +01:00
Philipp Oppermann
b570cad138 The first paging post was renamed 2019-01-28 11:11:06 +01:00
Philipp Oppermann
d87c41fa6c Continue second paging post 2019-01-28 11:11:06 +01:00