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
Philipp Oppermann
403e67a795
Mention Patreon second
2019-02-04 12:52:04 +01:00
Philipp Oppermann
c8ee869941
Mention donorbox before liberapay
2019-02-04 12:36:06 +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
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
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