Commit Graph

1575 Commits

Author SHA1 Message Date
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
2905fbe647 Merge pull request #539 from phil-opp/advanced-paging
New post: "Advanced Paging"
2019-01-28 13:16:36 +01:00
Philipp Oppermann
e349388372 Update code to current post-10 branch
Latest commit on post-10 branch: e5dfbd4b23
2019-01-28 12:01:11 +01:00
Philipp Oppermann
e5298ea8e6 Update CI scripts
- Build `post-*` branches
- Use `cargo install-latest` and `cargo cache`
- Always notify on failure
- Remove some comments
2019-01-28 11:57:46 +01:00
Philipp Oppermann
cc36ae536b Fix code snippets and improve their formatting 2019-01-28 11:31:45 +01:00
Philipp Oppermann
7744acd69c Link the post-10 branch in Readme 2019-01-28 11:16:44 +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
c285ac7c4f Add post to Readme 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
abd5082c56 Add second paging post to index page 2019-01-28 11:11:06 +01:00
Philipp Oppermann
d87c41fa6c Continue second paging post 2019-01-28 11:11:06 +01:00
Philipp Oppermann
2ad8de51de Begin second paging post 2019-01-28 11:11:06 +01:00
Philipp Oppermann
14f7e910cb Add comments label for comment issues 2019-01-28 10:51:17 +01:00
Philipp Oppermann
55d86b8d42 Spelling: Github -> GitHub 2019-01-27 18:00:08 +01:00
Philipp Oppermann
1034c884ac Add source code link to each post 2019-01-27 17:58:30 +01:00
Philipp Oppermann
04d3c134e2 Link post branches in Readme 2019-01-27 17:17:34 +01:00
Philipp Oppermann
2cbe44ecef Update to x86_64 0.4.0 2019-01-27 14:11:16 +01:00
Philipp Oppermann
dc86c88be5 Insert the testing code at the end of _start instead of at the beginning 2019-01-26 12:56:30 +01:00
Philipp Oppermann
bc2b3891d6 Rename code release tags for first edition 2019-01-26 12:39:59 +01:00
Philipp Oppermann
9cd801fd1f Fix old 2015 edition import path 2019-01-25 14:19:20 +01:00
Philipp Oppermann
c677103c5e Add another missing import in code example 2019-01-25 14:11:45 +01:00
Philipp Oppermann
d84127a7a8 Add missing import in code example 2019-01-25 14:08:44 +01:00
Philipp Oppermann
db2290e47a Fix import path in code example 2019-01-25 14:00:44 +01:00
Philipp Oppermann
441d2df46f Only allow(unused_imports) 2019-01-25 13:43:12 +01:00
Philipp Oppermann
0e4c13937b Use #![cfg_attr(not(test), no_std)] instead of #![no_std] 2019-01-25 13:41:07 +01:00
Philipp Oppermann
1d0bdad7d0 Remove wrong serial_println import 2019-01-25 13:36:04 +01:00
Philipp Oppermann
c0e0136349 Break long line in code example 2019-01-25 13:35:46 +01:00