Commit Graph

138 Commits

Author SHA1 Message Date
Philipp Oppermann
5f84061469 Add new post about creating a kernel heap 2016-04-12 00:47:04 +02:00
Philipp Oppermann
1d8a36a14b Rewrite remap_the_kernel post to use range_inclusive instead of step_by 2016-03-06 15:01:48 +01:00
Philipp Oppermann
23df363136 Update to changes introduced in 4fcb4b3424 2016-02-24 17:35:47 +01:00
Philipp Oppermann
c145f9f1d1 Use function in post as well 2016-02-24 17:18:59 +01:00
Philipp Oppermann
6734417e0f Add update note 2016-02-24 17:00:09 +01:00
Philipp Oppermann
0aa9b27f9b Add `Fixing the FrameAllocator section
Document changes from e3021d17d542e10328985ae5d0e0e373897835b3
2016-02-24 16:53:47 +01:00
Philipp Oppermann
5ee21d43f7 Use new linker script in post as well
New linker script from 86a59723bc0ead07497b0ea84d9543761a9f4430
2016-02-24 16:53:47 +01:00
Philipp Oppermann
8b2ec752b7 Add #[allow(dead_code)] to Color enum 2016-02-22 07:28:58 +01:00
Philipp Oppermann
ac9044bd96 Some improvements to remap-the-kernel and allocating-frames 2016-02-13 22:44:09 +01:00
Philipp Oppermann
2795b33fd6 Improve introduction for frame allocation and explain what a frame is 2016-02-04 20:05:25 +01:00
Philipp Oppermann
d421bac590 Remove mention of byte strings as they are not compatible to write_str 2016-02-04 16:41:58 +01:00
Philipp Oppermann
b092e79495 Better document changes required for unstable feature & extern crate 2016-02-04 16:40:18 +01:00
Philipp Oppermann
aaffb32bbd Make clear in which file the code fragments go 2016-02-03 18:01:58 +01:00
Philipp Oppermann
bb4d64dc99 Extend explanation for long mode test and improve code comments 2016-02-02 23:09:44 +01:00
Philipp Oppermann
d6efe62c80 Add some explanation for the long mode check 2016-02-01 23:57:09 +01:00
Philipp Oppermann
b9c94baaaa Explain the CPUID check 2016-02-01 23:40:45 +01:00
Philipp Oppermann
cbf4534eca Explain cmp, jmp and jne instructions more detailed 2016-02-01 19:28:18 +01:00
Philipp Oppermann
1a886fed5d Link travis build and note that the code should work for the newest nightly 2016-01-27 17:38:07 +01:00
Filip Szczepański
cb8c438820 Fix type name: Entry instead of EntryFlags
Fix for #120
2016-01-20 13:34:15 +00:00
Philipp Oppermann
865dd9cd72 Update x86 crate to version 0.6 and disable performance counter 2016-01-20 00:06:46 +01:00
Philipp Oppermann
23ee000f70 Split large command block 2016-01-19 23:24:07 +01:00
Philipp Oppermann
4beecbe138 Add grub-mkrescue troubleshooting steps 2016-01-19 23:07:23 +01:00
Philipp Oppermann
1bd054d718 Fix type name: EntryFlags instead of TableEntryFlags 2016-01-19 13:04:27 +01:00
Philipp Oppermann
a6632af0b6 Remove call to non-existent Writer::new
The creation of a `Writer` is the same as before, so we omit it.

Fixes #118
2016-01-17 13:24:16 +01:00
Marcel Hlopko
db9e6c5739 Add missing brackets 2016-01-14 14:52:02 +01:00
Marcel Hlopko
59d9a08aea Add missing semicolon 2016-01-14 14:33:33 +01:00
Philipp Oppermann
9ed358c54c Use official bitflags 2016-01-14 09:21:15 +01:00
Jonathan Fok kan
cd9441fe13 Fixed small error in printing-to-screen post 2016-01-09 13:15:06 +01:00
Jonathan Fok kan
376ab13f1a Fixed typos in post Allocating Frames 2016-01-09 01:30:06 -05:00
Dan Heath
3828ba8830 Fixed typo in 'CPUID check' heading 2016-01-04 22:38:49 +00:00
Philipp Oppermann
be251361fa Use -cdrom instead of -drive as it's shorter
Right now, it does not matter whether we boot from a drive or a cdrom. Therefore we use the shorter `-cdrom`.
2016-01-02 16:28:09 +01:00
Philipp Oppermann
157b3b208d Improve comments for CPUID check 2016-01-02 16:01:42 +01:00
Philipp Oppermann
295ae7ba89 Add new post about remapping the kernel 2016-01-01 18:05:16 +01:00
Philipp Oppermann
9bad9020f6 Make Page::containing address public in post
This brings it in line with the code
2015-12-31 00:00:41 +01:00
Philipp Oppermann
36cf22895a Use new example code to cause SSE failure 2015-12-26 13:38:27 +01:00
Philipp Oppermann
049fc4d74d Explain lifetime elision in next_table methods
Also, improve headings and the ActivePageTable section a bit.
2015-12-26 04:33:02 +01:00
Philipp Oppermann
b39bb643dd Rename RecursivePageTable to ActivePageTable 2015-12-25 13:14:14 +01:00
Philipp Oppermann
d28548fa10 Link next post 2015-12-24 03:15:09 +01:00
Alice Maz
4aec3b3d78 Add unsafe to Unique::new
previously compile would fail with E0133
2015-12-23 01:35:53 -05:00
Rafal Mielniczuk
337799599a Fix HierachicalLevel typo 2015-12-20 15:52:14 +01:00
Philipp Oppermann
74e84c7ea4 The core_str_ext feature is no longer needed 2015-12-20 15:47:51 +01:00
Philipp Oppermann
52f239e5b4 Add a link to the x86 crate
Also, fix some formatting.
2015-12-16 14:01:13 +01:00
Philipp Oppermann
de50b37443 Change title to Page Tables 2015-12-16 12:26:53 +01:00
Philipp Oppermann
6e60552e87 Rename test_* functions to check_* 2015-12-14 01:03:55 +01:00
Philipp Oppermann
7e83931746 The Iterator::min_by was renamed to min_by_key 2015-12-14 00:08:54 +01:00
Philipp Oppermann
22014eb38d The no_std attribute is stable now 2015-12-14 00:03:55 +01:00
Philipp Oppermann
ce5c4b970a Rename tag to modifying_page_tables 2015-12-14 00:00:32 +01:00
Philipp Oppermann
c0439cf194 Fix Grammar
`set up` not `setup`
2015-12-13 18:53:15 +01:00
Philipp Oppermann
953704f103 Move setup_SSE to boot.asm 2015-12-12 15:00:14 +01:00
Philipp Oppermann
617c92d017 Use a more expressive variable name 2015-12-10 16:55:54 +01:00