Commit Graph

395 Commits

Author SHA1 Message Date
Philipp Oppermann
bdb87289d8 Minor improvements 2019-06-16 15:16:50 +02:00
Philipp Oppermann
6108c01fb5 Motivate dynamic memory and explain how it works in Rust 2019-06-15 13:56:14 +02:00
Philipp Oppermann
015ef5b960 Begin new Heap Allocation post 2019-06-15 13:56:14 +02:00
Philipp Oppermann
bd6fbcb1c3 Use misspell to fix some typos 2019-06-03 18:02:20 +02:00
Philipp Oppermann
65e8b354d3 Typo fix 2019-05-26 16:00:44 +02:00
Philipp Oppermann
bd95ade626 Clarify that print_something needs to be called from _start 2019-05-26 15:58:08 +02:00
Philipp Oppermann
a8908acecc Fix typo: 1004 MiB -> 1004 KiB 2019-05-23 12:57:16 +02:00
Philipp Oppermann
99f8d2cfe7 Rewrite CompareMessage to check the whole string (#611)
Not just a single string component like before.
2019-05-23 12:40:14 +02:00
Philipp Oppermann
6db5ad78ab Add missing MemoryMap and MemoryRegionType imports 2019-05-13 12:30:22 +02:00
Joseph Richey
1ebe869e0e Always use spaces for code (if possible) (#609)
Almost all the code in the blog uses spaces instead of tabs.
This change fixes 3 places where there was inconsistancy.

This was causing some of the content to appear misaligned.

Now tabs are only used in:
  - Makefiles
  - Dockerfiles
  - Command output (from `objdump` and `diff`) containing tabs
  - `.fish` files
2019-05-12 14:39:31 +02:00
Philipp Oppermann
a770d09c0a Fix: Port needs to be mutable when reading from it
Required because of the update to x86_64 0.7.0 (#606).
2019-05-09 15:40:33 +02:00
Philipp Oppermann
f845b608c2 Update testing post to use -serial stdio instead of -serial mon:stdio (#605) 2019-05-09 15:01:09 +02:00
Philipp Oppermann
0632a0de80 Update posts for x86_64 version 0.7.0 (#607) 2019-05-09 15:00:49 +02:00
Philipp Oppermann
4736ad27fd Update Paging Implementation for unsafe FrameAllocator trait 2019-05-03 19:32:48 +02:00
Philipp Oppermann
faf574621a Update to x86_64 0.6.0 2019-05-03 19:25:48 +02:00
Philipp Oppermann
eb76c67a44 Update Paging Implementation for new frame allocator implementation (#596) 2019-04-30 13:29:30 +02:00
Matej Stuchlik
11e1f0d787 Typo: iozize -> iosize (#594) 2019-04-29 14:40:08 +02:00
Philipp Oppermann
b8d3aa32e9 Testing: PANIC_INFO needs to be adjusted after adding attributes/imports 2019-04-28 13:44:42 +02:00
Philipp Oppermann
1f9710308f Add missing core::fmt::{self, Write} imports in testing post 2019-04-28 12:59:27 +02:00
Sam Gluck
b7e98fa04a add missing "it" (#590) 2019-04-27 21:59:44 +02:00
bjorn3
7cbd985756 Update index.md (#588) 2019-04-27 19:28:20 +02:00
Philipp Oppermann
a8865e2277 Add deprecation notices to old testing posts and specify requirements 2019-04-27 13:40:15 +02:00
Philipp Oppermann
9995c69cc6 Mention deprecated Unit Testing and Integration Tests posts 2019-04-27 13:40:15 +02:00
Philipp Oppermann
e677e5d569 Set publish date 2019-04-27 13:40:15 +02:00
Philipp Oppermann
2286569694 Write summary section 2019-04-27 13:40:15 +02:00
Philipp Oppermann
c337840584 Typo fixes 2019-04-27 13:40:15 +02:00
Philipp Oppermann
3307cc6f66 Explain the timeout feature of bootimage 2019-04-27 13:40:15 +02:00
Philipp Oppermann
0509307d8f Mention test_main and blog_os::init in later posts 2019-04-27 13:40:15 +02:00
Philipp Oppermann
57a506e0fc Remove old cfg(not(test)) attributes from paging implementation post
The kernel_main function is now also the entry point in test mode.
2019-04-27 13:40:15 +02:00
Philipp Oppermann
2d61a463fc Use the entry point macro for lib.rs too 2019-04-27 13:40:15 +02:00
Philipp Oppermann
8d0293e647 Point x86_64 links to version 0.5.2 2019-04-27 13:40:15 +02:00
Philipp Oppermann
74783de318 Update to version 0.6.0 of bootloader 2019-04-27 13:40:15 +02:00
Philipp Oppermann
dce7adb210 Remove redundant import 2019-04-27 13:40:15 +02:00
Philipp Oppermann
8f14013e0a Hardware Interrupts: Use hlt_loop in lib.rs too 2019-04-27 13:40:15 +02:00
Philipp Oppermann
8db60d8e79 Hardware Interrupts: Fix a race condition in the test_println_output test 2019-04-27 13:40:15 +02:00
Philipp Oppermann
34bce0513c Explain new stack_overflow test in post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
cd6223c0ab Fix internal links 2019-04-27 13:40:15 +02:00
Philipp Oppermann
8735bbefd4 Update some of the following posts to use blog_os::init 2019-04-27 13:40:15 +02:00
Philipp Oppermann
fd8fb3e581 Remove some old cfg(not(test)) attributes 2019-04-27 13:40:15 +02:00
Philipp Oppermann
e8901719fa Update post numbers
Renames the directories, updates the weights, and the post branch links
2019-04-27 13:40:15 +02:00
Philipp Oppermann
992b958414 Remove section about fixing cargo test on windows
This no longer applies since cargo xtest no also compiles for the target system
2019-04-27 13:40:15 +02:00
Philipp Oppermann
c10d2ef753 Add TODO 2019-04-27 13:40:15 +02:00
Philipp Oppermann
bda362a666 Panic in Double Fault handler instead of looping endlessly
The advantage of panicking is that it causes a QEMU exit in integration tests.
2019-04-27 13:40:15 +02:00
Philipp Oppermann
9437656d5c Update I/O Port links in hardware interrupts post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
97bd58720e Update Double Faults post for new test system 2019-04-27 13:40:15 +02:00
Philipp Oppermann
38b904c6fb Update CPU Exceptions post for new test system 2019-04-27 13:40:15 +02:00
Philipp Oppermann
6f4383d004 Write requirements section 2019-04-27 13:40:15 +02:00
Philipp Oppermann
077b583eff Delete content from old unit testing post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
22261d8303 Write section about testing the panic handler 2019-04-27 13:40:15 +02:00
Philipp Oppermann
00b3ded7d6 Add missing imports 2019-04-27 13:40:15 +02:00