Commit Graph

716 Commits

Author SHA1 Message Date
Philipp Oppermann
642ff0f27f Minor improvement 2020-03-26 13:41:25 +01:00
Philipp Oppermann
58faf5adf0 Remove old section 2020-03-26 13:41:25 +01:00
Philipp Oppermann
868a6f03ec Add explantion for state machine code 2020-03-26 13:41:25 +01:00
Philipp Oppermann
2ff011ffba Split code example into individual match cases; add code for example 2020-03-26 13:41:25 +01:00
Philipp Oppermann
7ce491df53 Start creating full state machine for example 2020-03-26 13:41:25 +01:00
Philipp Oppermann
3d89841a51 Update async/await sections and 'saving state' section 2020-03-26 13:41:25 +01:00
Philipp Oppermann
3cff5d0961 Small improvements 2020-03-26 13:41:25 +01:00
Philipp Oppermann
51a02a4064 Typo fix 2020-03-26 13:41:25 +01:00
Philipp Oppermann
752accdd33 Explain how to work with futures and introduce async/await 2020-03-26 13:41:25 +01:00
Philipp Oppermann
bdcd392dbf Start explaining futures in Rust 2020-03-26 13:40:34 +01:00
Philipp Oppermann
6f7c5a35dd Begin a new post about async/await 2020-03-26 13:40:34 +01:00
Philipp Oppermann
e0686209f4 Fix cargo doc links that were moved
Move occured in https://github.com/rust-lang/cargo/pull/7733 and was just released together with Rust 1.42.
2020-03-13 13:47:26 +01:00
Patrick
aeafe57c5d Removed unnecessary word (#765)
Removed the word "executes" from "The CPU executes tries to write to `0xdeadbeef`, which causes a page fault."
2020-03-11 13:07:22 +01:00
Philipp Oppermann
82c6a5dd60 Update x86_64 dependency to version 0.9.6 2020-03-08 14:38:38 +01:00
Philipp Oppermann
f9002f9f9b Update Heap Allocation post for new spinlock type of linked_list_allocator 2020-03-06 14:56:07 +01:00
Philipp Oppermann
bf4c928214 Update Heap Allocation post for #763 2020-03-06 11:50:29 +01:00
Philipp Oppermann
bfdc1e96a6 Create February status update 2020-03-02 11:42:19 +01:00
Philipp Oppermann
fb920af5dc Hardware Interrupts: Update pc-keyboard crate to v0.5.0 2020-02-26 12:17:35 +01:00
Philipp Oppermann
0619f3a9e7 Convert all external links to https (if supported) 2020-02-21 11:53:34 +01:00
Philipp Oppermann
b532c052ad Double Faults: A missing handler leads to a #GP exception (not a #NP)
A IDT entry that is zero is not valid (e.g. the must-be-one bits are not set). For this reason, a general protection fault occurs instead of a segment-not-present fault.

See https://github.com/phil-opp/blog_os/issues/449#issuecomment-558906316 for more information.
2020-02-19 10:58:55 +01:00
Philipp Oppermann
a392065ca8 Merge pull request #732 from phil-opp/phil-opp-patch-1
Mention in "Paging Introduction" that a CPU with 5-level paging is available now
2020-02-18 14:58:21 +01:00
Philipp Oppermann
2cb6d2f3d0 Add a _index.md to prevent orphan pages 2020-02-17 13:45:49 +01:00
Philipp Oppermann
65da18d143 Fix dead links 2020-02-17 13:41:22 +01:00
Philipp Oppermann
db69d016a9 Add metadata to translations and list translators 2020-02-17 12:04:12 +01:00
Philipp Oppermann
0ae8c972bb Specify a template for zh-TW posts 2020-02-17 11:18:09 +01:00
Philipp Oppermann
04fae1194f Remove stale link 2020-02-17 11:04:04 +01:00
Philipp Oppermann
0f8bd7fab8 Fix internal link syntax in translation 2020-02-17 10:49:00 +01:00
Philipp Oppermann
7124ce742f Merge branch 'master' into translations 2020-02-17 10:38:43 +01:00
Philipp Oppermann
1ea72a0080 Merge pull request #694 from phil-opp/rustcc-translation
Add translations from rustcc/writing-an-os-in-rust
2020-02-17 10:37:17 +01:00
Jayanth Manklu
b01c6b68b6 Fix a grammatical miss in println macro section (#745) 2020-02-16 17:56:40 +01:00
Philipp Oppermann
7d27a2c4a4 Add chapter information to frontmatter 2020-02-11 10:29:48 +01:00
Philipp Oppermann
a3eeb1ded7 Clarify that x86-interrupt only saves registers that are overwritten 2020-02-07 18:18:33 +01:00
Philipp Oppermann
4707ea617f Update Allocator Designs post to signal OOM instead of panicking on overflow (#739) 2020-02-04 09:47:43 +01:00
Philipp Oppermann
83239394dd Mention potential bump allocator extensions (#722)
These extensions make it possible to reuse freed memory in more cases. While they would fix the failing test, they are no general solutions.
2020-02-04 08:55:02 +01:00
Philipp Oppermann
5276972c67 Set meta.description tag correctly 2020-02-03 17:13:28 +01:00
Philipp Oppermann
e134914ef8 Updates in January 2020 2020-02-01 14:24:58 +01:00
Philipp Oppermann
9c6cdff785 A CPU with 5-level paging is available now 2020-01-31 11:10:09 +01:00
Philipp Oppermann
670ac60e1b Update Allocator Designs post to use LinkedListAllocator::lock method 2020-01-30 13:04:56 +01:00
Philipp Oppermann
4f42826399 Update address on contact page 2020-01-30 12:42:13 +01:00
Rustin
6d4f1d6c43 post-3 translation refactor (#725) 2020-01-30 10:37:40 +01:00
Philipp Oppermann
409c6de44a Add doc link for eh_personality language item 2020-01-29 13:29:01 +01:00
Philipp Oppermann
571c66c1b2 Merge pull request #729 from phil-opp/front-page-update
Some style updates to the front page
2020-01-28 17:45:18 +01:00
Philipp Oppermann
6a56ea242f Fix dummy allocator code example (#728)
We forgot to remove the `allocator::` prefix when moving the ALLOCATOR declaration into the `allocator` module.
2020-01-28 17:10:46 +01:00
Philipp Oppermann
007bf8a937 Move posts about red zone and disabling SIMD in second post folder
They are strongly related to the second post.
2020-01-28 16:57:00 +01:00
Philipp Oppermann
0c67111e68 Merge pull request #721 from phil-opp/align-up-performance
Provide multiple implementations of align_up and mention performance
2020-01-28 10:39:20 +01:00
Philipp Oppermann
16a6aca76a Use bitmask method instead of align_offset
See https://github.com/phil-opp/blog_os/issues/720#issuecomment-578874828
2020-01-28 10:21:20 +01:00
Philipp Oppermann
c0399b04db Update allocator designs post to use checked additions (#727) 2020-01-27 13:25:13 +01:00
Philipp Oppermann
4b8c902354 Fix typo 2020-01-27 12:46:33 +01:00
Philipp Oppermann
7070bb608d Fix typo
Accidentally introduced in 0b9ca84735.
2020-01-22 12:42:19 +01:00
Philipp Oppermann
3a6aa9834a Provide multiple implementations of align_up and mention performance 2020-01-22 11:36:54 +01:00