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