Commit Graph

518 Commits

Author SHA1 Message Date
Philipp Oppermann
6368938b9e Link to free list wikipedia article 2020-01-20 10:08:33 +01:00
Philipp Oppermann
deca65eb1f Break long line in code excerpt 2020-01-15 18:23:59 +01:00
Philipp Oppermann
2cfa13a48f Add missing imports 2020-01-15 18:13:43 +01:00
Philipp Oppermann
687c81eedb Array initialization using non-Copy types requires feature gate 2020-01-15 18:06:30 +01:00
Philipp Oppermann
658212c1f5 Add bullet points for discussion section 2020-01-15 17:17:27 +01:00
Philipp Oppermann
04857a063d Write short 'Using it' section 2020-01-15 15:42:16 +01:00
Philipp Oppermann
5d14722601 Store a Option<&mut ListNode in head array instead of a dummy ListNode 2020-01-15 15:34:13 +01:00
Philipp Oppermann
db20a40745 Write implementation section for fixed-size block allocator 2020-01-15 13:42:39 +01:00
Philipp Oppermann
07b1ee0199 Fix internal link 2020-01-15 13:42:08 +01:00
Philipp Oppermann
ad671a3a92 Continue fixed-size block allocator section 2020-01-14 12:34:26 +01:00
Philipp Oppermann
f042761ada Fix typo 2020-01-14 11:50:28 +01:00
Philipp Oppermann
64e5b67f35 Remove old content 2020-01-14 11:49:07 +01:00
Philipp Oppermann
c92b0d46dc Begin introduction for fixed-size block allocator 2020-01-14 11:48:28 +01:00
Philipp Oppermann
1915e6feb4 Minor improvements to linked list section 2020-01-14 11:48:09 +01:00
Philipp Oppermann
8f80378e65 Improve section about performance of linked list allocator 2020-01-14 10:50:32 +01:00
Philipp Oppermann
b34cad7c61 Improve example for merging freed blocks 2020-01-14 10:50:00 +01:00
Philipp Oppermann
e4c07e0356 Fill in images related to merging freed blocks 2020-01-13 13:21:58 +01:00
Philipp Oppermann
6a4fdf94fc Write discussion section 2020-01-13 10:07:25 +01:00
Philipp Oppermann
14c0cc7ece Fix typo 2020-01-10 13:09:31 +01:00
Philipp Oppermann
231b5d587b Update implementation section of linked list allocator 2020-01-10 13:09:20 +01:00
Philipp Oppermann
6cc3449183 Restructure headings 2020-01-09 16:52:47 +01:00
Philipp Oppermann
dda99166d9 Start rewriting linked list allocator section 2020-01-09 16:33:40 +01:00
Philipp Oppermann
f19b93eb34 Fixes and improvements to bump allocator section 2020-01-09 15:43:35 +01:00
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