Commit Graph

117 Commits

Author SHA1 Message Date
Philipp Oppermann
7212ffaa83 Add an example why it is dangerous to implement memcpy yourself 2020-10-10 11:58:20 +02:00
Toothbrush
a65bf32d57 Removed message about rustfmt (#870)
Removed message about recent Rust nightlies not containing `rustfmt`.
2020-10-08 18:06:38 +02:00
Brian Kung
5184a2f7ea Specify which file to change (#869)
The commented file path was removed in https://github.com/phil-opp/blog_os/pull/866
2020-10-08 08:11:44 +02:00
Philipp Oppermann
114140ab7c Fix typo 2020-10-02 23:13:08 +02:00
Philipp Oppermann
d007af4811 Update blog to use mem feature of compiler_builtins 2020-10-02 23:12:46 +02:00
Brian Kung
8ff1aeb96d Add link to custom targets (#857)
This makes it slightly easier to find out more about the JSON file that specifies custom targets.
2020-09-21 15:20:00 +02:00
Roberto Wesley Overdijk
3c070c6dc0 change rustup override add to rustup override set (#843) 2020-08-02 13:43:51 +02:00
Philipp Oppermann
3096baf462 Fix: rustc-std-workpace-core is a dependency of compiler_builtins, not core 2020-07-17 16:00:17 +02:00
Philipp Oppermann
f0443b7bfe Remove duplicated note about requiring Rust nightly 2020-07-17 13:13:13 +02:00
Philipp Oppermann
ed339ee2ce Add a note about minimal required nightly version 2020-07-17 13:08:23 +02:00
Philipp Oppermann
580f58f7ab Update bootloader version in 'Minimal Rust Kernel' post to 0.9.8 2020-07-17 12:37:24 +02:00
Philipp Oppermann
6e2edf03a9 Update 'Minimal Rust Kernel' for build-std feature 2020-07-17 12:37:00 +02:00
Philipp Oppermann
6f1f872158 Rename .cargo/config files to .cargo/config.toml
The latter makes it more clear what kind of file it is.
2020-07-17 11:57:17 +02:00
Philipp Oppermann
788d6a7e22 Use the latest version of bootimage 2020-05-21 10:45:17 +02:00
Philipp Oppermann
70b2f07694 Update bootloader to v0.9.3 2020-05-20 14:16:43 +02:00
hg
516121b698 Add one more unsafe superpower (#802) 2020-05-17 12:45:10 +02:00
Lars Kloosterman
389b97f13e Fix a tiny typo (#799) 2020-05-03 21:24:03 +02:00
ptrckd
ed3eaacb44 We no longer make entry points for Windows and macOS in post-01 (#789) 2020-04-13 11:24:08 +02:00
Philipp Oppermann
7cf7646ed0 Fix dead link 2020-03-31 13:18:55 +02:00
Philipp Oppermann
0619f3a9e7 Convert all external links to https (if supported) 2020-02-21 11:53:34 +01:00
Philipp Oppermann
65da18d143 Fix dead links 2020-02-17 13:41:22 +01:00
Philipp Oppermann
7d27a2c4a4 Add chapter information to frontmatter 2020-02-11 10:29:48 +01:00
Philipp Oppermann
007bf8a937 Move posts about red zone and disabling SIMD in second post folder
They are strongly related to the second post.
2020-01-28 16:57:00 +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
c4546f1e30 Use version 0.8.0 of bootloader 2019-09-11 10:55:29 +02:00
Philipp Oppermann
f124f2fc4d Use version 0.7.7 of bootimage 2019-09-11 10:54:22 +02:00
Philipp Oppermann
54ad8ae792 Show codepage 437 instead of 737 in Minimal Rust Kernel 2019-09-02 15:47:03 +02:00
Philipp Oppermann
c88d4d674f Remove pararaph 2019-08-12 19:27:20 +02:00
Philipp Oppermann
cd5dd17a99 Clarify that panic-strategy option is required in target json
The Cargo.toml option does not apply to the core library compiled by cargo-xbuild.
2019-08-12 19:23:57 +02:00
William Mbotta
3d015be1fc Fix wrong location for bootimage (#647) 2019-07-30 11:14:12 +02:00
Philipp Oppermann
48974ec63e Update posts to bootloader 0.6.4 2019-07-18 10:21:08 +02:00
Philipp Oppermann
f8afce46a1 Minimal Rust Kernel: Only mention core in error message
The `OR` is confusing since the reader might think that it's part of the output. Also, the compiler_builtins error should no longer occur now that the library lives on crates.io.
2019-07-09 19:27:59 +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
74783de318 Update to version 0.6.0 of bootloader 2019-04-27 13:40:15 +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
f2335e8e72 Add a note that there must be no spaces in features string 2019-04-17 18:49:23 +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
48d96243ea Add an inline table of contents to all posts 2019-03-19 13:01:25 +01:00
Philipp Oppermann
82256aaa2f Use zola's page_template feature 2019-03-14 12:58:10 +01:00
Philipp Oppermann
7b88ebcaf6 Update bootloader dependency in post to 0.4.0 2019-03-14 11:20:36 +01:00
Philipp Oppermann
aa09d2f719 The first post is now buildable on stable Rust (#551) 2019-02-07 16:24:00 +01:00
Philipp Oppermann
1f27ca5352 Clarify why we disable SSE for our kernel 2019-02-07 12:05:55 +01:00