Commit Graph

495 Commits

Author SHA1 Message Date
Philipp Oppermann
e4652090a8 Finish rewrite of bump allocator section 2020-01-09 13:46:37 +01:00
Philipp Oppermann
851460fe12 Fix typos 2020-01-08 18:03:16 +01:00
Philipp Oppermann
37aa01958a Start rewriting bump allocator section
Remove the `Locked` wrapper type as we can just use `spin::Mutex` directly.
2020-01-08 17:39:26 +01:00
Philipp Oppermann
c3feb6a9e6 Reword design section 2020-01-08 17:38:06 +01:00
Philipp Oppermann
ed157c8a75 Write an introduction 2020-01-08 17:37:40 +01:00
Philipp Oppermann
26fc3ba626 Add a small abstract 2020-01-08 17:37:28 +01:00
Philipp Oppermann
06ea0caece Code will be available in post-11 branch 2020-01-08 12:41:12 +01:00
Philipp Oppermann
620958a8a2 Fix interal links 2020-01-08 12:41:12 +01:00
Philipp Oppermann
5937ec2e04 Reintroduce allocator designs post
The post was split off the Heap Allocations post because it became too large. To keep the tree clean, it was then temporarily removed. This commit restores the post by reverting the removal commit.

This reverts commit 029d77ef21.
2020-01-08 12:41:12 +01:00
Philipp Oppermann
4e5a757396 It is now possible to define allocators in submodules (#715) 2020-01-08 12:39:11 +01:00
Philipp Oppermann
581849098f Fix typo 2020-01-08 12:24:09 +01:00
Philipp Oppermann
f1b13d7ed3 The LLVM error code bug was resolved (#711)
We already updated the other posts in https://github.com/phil-opp/blog_os/pull/644 but forgot to update this post
2020-01-05 20:02:39 +01:00
Philip Molloy
d9d204a6cd Remove superfluous adjective
"own" may be used as an adjective, but must follow a possessive word. Rather than add "our" just remove the adjective entirely since ownership is not significant.

Co-Authored-By: Philipp Oppermann <dev@phil-opp.com>
2019-12-29 11:47:06 -05:00
Philip Molloy
fdccda6b54 Add missing word to sentence 2019-12-27 16:25:23 -05:00
Philipp Oppermann
b0317d0e4a Remove now unneeded unsafe block in Heap Allocation post
The `map_to` method is safe since x86_64 0.8.1.
2019-12-11 16:50:13 +01:00
Philipp Oppermann
b65825e99a Update docs.rs links to point to x86_64 0.8.1 2019-12-11 16:46:04 +01:00
Philipp Oppermann
5ad8df595c Update Paging Implementation post for new UnusedPhysFrame type 2019-12-11 16:46:04 +01:00
Philipp Oppermann
130fc3e075 Make double fault handler diverging 2019-12-11 16:37:16 +01:00
Philipp Oppermann
f02e3a23ee Update x86_64 version in Testing post 2019-12-11 16:37:16 +01:00
Philipp Oppermann
bb2ac9c259 Add missing hlt_loop import in code listing
The hlt_loop import was missing when creating a page fault handler.
2019-11-25 13:32:38 +01:00
MarinPostma
6d95caec31 fixed repeated "the" typo (#691) 2019-11-23 15:41:31 +01:00
Philipp Oppermann
555b5aece1 Hardware Interrupts: Don't replace panic in double fault handler (#690) 2019-11-22 16:13:01 +01:00
Daniel Harper
537a070238 Clarified writing beyond the buffers end (#685) 2019-11-16 20:25:05 +01:00
Bruno Flores
24d04e0e39 Fix minor typos. (#675) 2019-10-03 14:07:45 +02:00
Philipp Oppermann
c76516db75 Fix anchor names of internal links 2019-09-29 15:44:44 +02:00
Philipp Oppermann
a133ea82cf Update to new internal link syntax 2019-09-29 15:24:21 +02:00
Philipp Oppermann
0b971c9128 12KiB is 0x3000 in hex, not 0xc000 2019-09-29 15:10:17 +02:00
Philipp Oppermann
9877e4c84d Add missing import of serial_print in Testing post 2019-09-20 10:04:48 +02:00
Philipp Oppermann
94e2b7c351 Fix heap allocation test: memory::init expects a VirtAddr now 2019-09-15 10:56:37 +02:00
Philipp Oppermann
841bf664fa Improve implementation section of Paging Implementation post 2019-09-14 17:48:07 +02:00
Philipp Oppermann
820bc0cab3 Map page 0 instead of page 0x1000 because of bootloader 0.8.0
Bootloader 0.8.0 maps the page at 0x1000 itself.
2019-09-14 17:41:01 +02:00
Philipp Oppermann
7104014c27 Require up-to-date x86_64 version instead of bootloader version 2019-09-14 10:46:22 +02:00
Philipp Oppermann
4546d40be1 Remove 'Another Paging Post' aside
It's been a while since we removed the old Advanced Paging post.
2019-09-14 10:45:59 +02:00
Philipp Oppermann
9136f81f78 Simplify Paging Implementation by using OffsetPageTable instead of MappedPageTable 2019-09-11 14:27:54 +02:00
Philipp Oppermann
9d8b55f6ee Update some more doc links to use x86_64 version 0.7.5 2019-09-11 13:48:16 +02:00
Philipp Oppermann
b9005f28f7 Update docs links to use version 0.5.2 of spin 2019-09-11 13:46:56 +02:00
Philipp Oppermann
ea1711fe06 Update docs link to use x86_64 version 0.7.5 2019-09-11 13:45:51 +02:00
Philipp Oppermann
bc738c8afc Update x86_64, volatile, and spin dependencies 2019-09-11 13:30:44 +02:00
Philipp Oppermann
19f585d517 Remove x86_64 dependency update note in Paging Implementation post
We already introduce version 0.7.0 of `x86_64` in the Testing post for some time, so it's reasonable to expect that most people use a compatible version now. Therefore, we no longer need to mention it explicitly.
2019-09-11 11:17:47 +02:00
Philipp Oppermann
c4546f1e30 Use version 0.8.0 of bootloader 2019-09-11 10:55:29 +02:00
Philipp Oppermann
f124f2fc4d Use version 0.7.7 of bootimage 2019-09-11 10:54:22 +02:00
Chris Smith
afdc269323 Fix minor typo (#658)
Found a minor typo while following along.

Thank you for publishing this series, it's great!
2019-09-08 00:47:07 +02:00
Philipp Oppermann
54ad8ae792 Show codepage 437 instead of 737 in Minimal Rust Kernel 2019-09-02 15:47:03 +02:00
Funfoolsuzi
c8b3583465 fix typo in 06-double-fault (#655) 2019-08-20 07:37:58 +02:00
Philipp Oppermann
c88d4d674f Remove pararaph 2019-08-12 19:27:20 +02:00
Philipp Oppermann
cd5dd17a99 Clarify that panic-strategy option is required in target json
The Cargo.toml option does not apply to the core library compiled by cargo-xbuild.
2019-08-12 19:23:57 +02:00
Nikos Fertakis
f4123dc011 Fix typo in 04-testing (#654) 2019-08-10 11:17:19 +02:00
Funfoolsuzi
4b3fbd27cc Fix typo in 05-cpu-exceptions (#653)
Thanks for the great tutorial. Here is a typo I found.
2019-08-09 09:26:39 +02:00
Philipp Oppermann
87c64cf255 Rewrite section about no-harness tests (#650) 2019-08-07 12:39:28 +02:00
William Mbotta
3d015be1fc Fix wrong location for bootimage (#647) 2019-07-30 11:14:12 +02:00