Commit Graph

671 Commits

Author SHA1 Message Date
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
Philipp Oppermann
028d31cc5b Make exit_qemu safe 2019-04-27 13:40:15 +02:00
Philipp Oppermann
6257baaea5 Some improvements 2019-04-27 13:40:15 +02:00
Philipp Oppermann
10718f2996 Continue post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
736160a910 Some improvements 2019-04-27 13:40:15 +02:00
Philipp Oppermann
ade3e36856 Continue post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
441ef21937 Continue post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
f0c5326b19 Rename section 2019-04-27 13:40:15 +02:00
Philipp Oppermann
66102b3aba Use version 0.2.0 of uart_16550 2019-04-27 13:40:15 +02:00
Philipp Oppermann
ae46a98cdb Add introduciotn for printing to the console section 2019-04-27 13:40:15 +02:00
Philipp Oppermann
79ce3bd883 Deprecate the old testing posts 2019-04-27 13:40:15 +02:00
Philipp Oppermann
005dd7d951 Begin new testing post 2019-04-27 13:40:15 +02:00
Philipp Oppermann
82c499a8b9 Update mentions of bootimage run in other posts 2019-04-26 12:08:41 +02:00
Philipp Oppermann
52cbb1e756 Set up a cargo runner to make cargo xrun work 2019-04-26 12:08:41 +02:00
Philipp Oppermann
22bc414972 Use cargo bootimage instead of bootimage run 2019-04-26 12:08:41 +02:00
Philipp Oppermann
2377c0a579 Restructure: Create a new Running our Kernel section 2019-04-26 12:08:41 +02:00
Philipp Oppermann
24e06d8978 Create a .cargo/config file that sets the default target
Instead of setting a bootimage default target.
2019-04-25 13:12:29 +02:00
Philipp Oppermann
3a3a76466c Use bootimage 0.7.3 2019-04-25 12:27:27 +02:00
Philipp Oppermann
5daa7269d6 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 17:54:21 +02:00
Philipp Oppermann
a6b8252946 Revert "Use Zola's aliases feature instead of Netlify redirects"
This reverts commit fd2ac6ef18.
2019-04-24 15:57:06 +02:00
Philipp Oppermann
fd2ac6ef18 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 12:07:00 +02:00
Philipp Oppermann
f2335e8e72 Add a note that there must be no spaces in features string 2019-04-17 18:49:23 +02:00
Philipp Oppermann
ac16f2ed55 Link if let and shadowing chapters under keyboard code 2019-04-15 14:10:34 +02:00
Philipp Oppermann
0b9ca84735 Rewrite "A Freestanding Rust Binary" (#577)
- solve linker errors by compiling for thumbv7em-none-eabihf
- make old section about linker arguments optional content
- use different linker arguments on Windows and macOS to use the `_start` entry point on all OSs
- Add an (optional) section that explains how to set linker arguments in .cargo/config
- Add an (optional) section that discourages the linker arguments approach and recommends the `#[start]` attribute instead
- reorganize section levels
2019-04-11 15:28:51 +02:00
Philipp Oppermann
6015feb511 Update 'Paging Implementation' post for bootloader 0.5.1 2019-04-06 17:49:31 +02:00
Philipp Oppermann
b8667c45dd Update "Minimal Rust Kernel" to new bootloader 0.5.1 and bootimage 0.7.2 2019-04-06 16:46:10 +02:00
Philipp Oppermann
6eb9c83345 Spell out post-* branch names in posts 2019-04-03 12:12:48 +02:00
Philipp Oppermann
0605fc54df Move the ToC of Paging Implementation after the aside 2019-03-19 13:24:41 +01:00