Commit Graph

98 Commits

Author SHA1 Message Date
Philipp Oppermann
0af14e1d51 Clarify that the entry point should be named _start, even on Windows and macOS 2018-06-27 13:12:32 +02:00
Erlend
83873ab54b Fix confusing wording (#444) 2018-06-25 16:22:42 +02:00
Philipp Oppermann
01ac5b5ea0 Merge pull request #439 from phil-opp/integration-tests
New post about integration testing
2018-06-15 10:30:24 +02:00
Philipp Oppermann
3372966664 Add missing core::panic::PanicInfo imports in code snippets (#440) 2018-06-14 08:24:37 +02:00
刘冲
34f5733114 remove redundant code in _start (#438)
"as *const u8" seems to be not needed
2018-06-13 11:48:11 +02:00
Philipp Oppermann
6b5076bbfe Update minimal kernel post to bootimage 0.4.0 2018-06-10 13:30:33 +02:00
Philipp Oppermann
a180d71e72 Remove VirtualBox instructions since they don't work currently
See https://github.com/phil-opp/blog_os/issues/403#issuecomment-375785477 and following comments
2018-06-10 13:30:33 +02:00
Philipp Oppermann
3f61050387 Define panic handler using new panic_implementation attribute (#435) 2018-06-04 13:19:44 +02:00
Philipp Oppermann
ab8a224b06 Add a code block for the bootimage build command 2018-05-07 13:02:07 +02:00
Philipp Oppermann
65211f85a5 Use cargo-xbuild instead of xargo and pass paths to --target 2018-05-07 12:59:24 +02:00
Philipp Oppermann
d7efdf013a Mention bootimage run in the Minial Rust Kernel post 2018-04-13 18:57:18 +02:00
Philipp Oppermann
2a00afaab5 Update to xargo 0.3.12 (#427) 2018-04-08 17:47:43 +02:00
Philipp Oppermann
dcf8b7767c A dependency on compiler_builtins is now automatically injected (#426) 2018-04-08 11:51:16 +02:00
Philipp Oppermann
21fb890328 Run rustfmt 2018-04-02 17:34:37 +02:00
Philipp Oppermann
5d0503e250 Use explicit extern "C" 2018-04-02 17:31:04 +02:00
Philipp Oppermann
549dfd362b Mark _start as extern; fix wrong entry point name 2018-04-02 17:24:00 +02:00
Philipp Oppermann
0bd0c70c8f Update for bootimage 0.2.0 (#424) 2018-03-31 23:09:21 +02:00
Philipp Oppermann
5f195a869c Mention that libssl-dev is required for building bootimage 2018-03-23 14:32:50 +01:00
Aaron Hill
af151a2d45 Fix 'pwd' command substitution (#413) 2018-03-13 16:00:34 +01:00
Philipp Oppermann
77522e79c6 Remove old uses of x86_64-unknown-blog_os target
Reported in #406.
2018-03-11 11:46:19 +01:00
Philipp Oppermann
ace131cd4e Fix #410 2018-03-11 11:36:53 +01:00
Redrield
f4acd176b8 Switch (possible) typo, arcane --> archaic (#402) 2018-03-10 01:10:42 +01:00
Philipp Oppermann
ffbf030a3d Fix typo: cargo -> xargo 2018-03-10 00:03:52 +01:00
Philipp Oppermann
fcb074bbd8 Mention the minimum required xargo version 2018-03-09 23:26:43 +01:00
Steve Klabnik
e120e49efb adjust blog post to reflect json changes 2018-03-09 11:13:41 +01:00
Philipp Oppermann
844f0f0051 Reapply usage of LLD shipped with Rust
This reverts commit f24ba8b799.
2018-03-09 11:13:41 +01:00
Philipp Oppermann
f24ba8b799 Revert "LLD is now shipped with Rust!" (#397) 2018-03-06 18:26:57 +01:00
Philipp Oppermann
db812fe7c8 Remove “Installing LLD” guide 2018-03-06 11:20:32 +01:00
Philipp Oppermann
d7e17b2f56 Set linker-flavor to ld.lld, leave linker at default 2018-03-06 11:20:32 +01:00
Philipp Oppermann
70889544d1 Add rlibc dependency in minimal rust kernel post 2018-03-04 23:32:57 +01:00
Philipp Oppermann
fe472d3412 Adjust order number of first two posts 2018-02-26 19:02:31 +01:00
Philipp Oppermann
9208ae18ce Explain shortly how the bootimage tool works 2018-02-25 16:00:14 +01:00
Philipp Oppermann
4281f0e261 Minor improvements 2018-02-25 15:59:43 +01:00
Philipp Oppermann
7d04bdea1b Reformulate the drawbacks of the multiboot standard 2018-02-25 15:05:09 +01:00
Toothbrush
1cdc010446 Fix: Change "panic" to "panic-strategy" (#392) 2018-02-20 22:10:05 +01:00
Andre Richter
07553ed219 Nitpicks for second article (#390)
Some nitpick corrections.
2018-02-14 11:39:08 +01:00
Philipp Oppermann
71778d7a42 Remove BootInfo parameter from second post code example
Fixes #388
2018-02-12 12:46:44 +01:00
Philipp Oppermann
325f1f2756 Fix date of new post 2018-02-10 18:03:34 +01:00
Philipp Oppermann
dc50747c78 Link to the github issue from the UEFI section 2018-02-10 16:49:09 +01:00
Philipp Oppermann
56be17ab80 Add paragraph about Multiboot 2018-02-10 16:49:09 +01:00
Philipp Oppermann
5e96335c23 Add instructions for running in QEMU, VirtualBox, and on real hardware 2018-02-10 16:48:30 +01:00
Philipp Oppermann
7be59b571d Use static and for loop for printing Hello World 2018-02-10 16:47:21 +01:00
Philipp Oppermann
cef44163bc Remove/resolve some todos 2018-02-10 16:47:21 +01:00
Philipp Oppermann
7d55dda917 Add extra posts about disabling red zone and SIMD and installing LLD 2018-02-10 16:47:02 +01:00
Philipp Oppermann
8a75c2828e More work on minimal kernel post 2018-02-10 16:46:54 +01:00
Philipp Oppermann
bff0c4401c Print “Hello” instead of “OK” 2018-02-10 16:43:17 +01:00
Philipp Oppermann
9fc0a07453 Fix offset typo 2018-02-10 16:43:17 +01:00
Philipp Oppermann
c266193a34 We do not need separate “Intoduction” and “Booting” posts 2018-02-10 16:43:17 +01:00