Philipp Oppermann
af61d11cc1
Install qemu on Windows through choco
2018-11-25 12:58:50 +01:00
Philipp Oppermann
c9aa0684bf
Use travis homebrew addon for installing qemu
2018-11-25 12:58:34 +01:00
Toothbrush
eda4c08fc0
Bootloader is prepended, not appended( #502 )
2018-11-24 10:58:34 +01:00
bors[bot]
3aa39bcd9a
Merge #501
...
501: Update to the 2018 edition of Rust r=phil-opp a=phil-opp
This updates the blog to use the upcoming [2018 edition](https://rust-lang-nursery.github.io/edition-guide/rust-2018/index.html ) of Rust, which is currently in beta and already the default on nightly. It changes a few local import paths (now with a `crate::` prefix) and removes all `extern crate` definitions and `macro_use` attributes.
This PR changes a lot of code across all posts, so there might be some things in the posts that I forgot to update. Please let me know if you see anything! [Preview of the changes](https://rust-2018--blog-os.netlify.com/ )
Fixes #499
Fixes #500
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2018-11-19 09:16:07 +00:00
Philipp Oppermann
ad7c11c0a3
Add #[doc(hidden)] to {vga_buffer, serial}::_print functions
2018-11-19 10:14:47 +01:00
Philipp Oppermann
dbfb732325
Fix remaining uses of {vga_buffer, serial}::print
2018-11-19 09:45:27 +01:00
Philipp Oppermann
8e292cc593
Fix typo: invokation -> invocation
2018-11-19 09:44:02 +01:00
Philipp Oppermann
0b5e89fbb7
Remove all the extern crate definitions
2018-11-18 15:30:19 +01:00
Philipp Oppermann
1d4cbdbe57
Update CPU exceptions post
2018-11-18 15:26:28 +01:00
Philipp Oppermann
f5aea8f015
Update testing posts
2018-11-18 15:26:21 +01:00
Philipp Oppermann
bf413d3baa
Mention in the first post that our crate uses the 2018 edition
2018-11-18 15:01:55 +01:00
Philipp Oppermann
ba31b21661
Update the VGA buffer post to the new println macro and Rust 2018
2018-11-18 15:01:55 +01:00
Philipp Oppermann
767fd53d5f
Remove macro_use and use explicit imports
2018-11-18 15:01:55 +01:00
Philipp Oppermann
24e7974d04
Update to a newer println definition
2018-11-18 14:30:40 +01:00
Philipp Oppermann
fc4542463b
Rename vga_buffer::print function to avoid name clash with macro
2018-11-18 13:59:34 +01:00
Philipp Oppermann
6e5ebc4bd9
Transition the code to Rust 2018
2018-11-18 13:44:21 +01:00
bors[bot]
5091491a1f
Merge #498
...
498: Use pc-keyboard crate for translating scancodes r=phil-opp a=phil-opp
This PR extends the "Hardware Interrupts" post to use the [`pc-keyboard`](https://docs.rs/pc-keyboard/0.3.1/pc_keyboard/index.html ) crate for translating scancodes. This enables us to use all keys and not only 0-9 like before.
Thanks to @ZerothLaw for implementing scancode 1 support in `pc-keyboard` and of course @thejpster for writing the crate.
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2018-11-17 20:25:00 +00:00
Philipp Oppermann
231888eb4c
Add gif of me typing Hello World
2018-11-17 21:22:44 +01:00
Philipp Oppermann
264a32f747
Update post to use pc-keyboard for scancode translation
2018-11-17 18:22:10 +01:00
Philipp Oppermann
6322bcce2a
Use pc-keyboard crate for translating scancodes
2018-11-17 16:31:51 +01:00
Philipp Oppermann
0823c9f6c5
Use use imports for lazy_static in integration tests too
2018-11-13 11:42:15 +01:00
Philipp Oppermann
e7d4012653
Import lazy_static through normal use
2018-11-13 11:36:40 +01:00
Philipp Oppermann
21f3152dc0
Explictly mention in VGA buffer post in which file a code example belongs
2018-11-13 11:12:40 +01:00
Philipp Oppermann
298e71401b
Update sections about panic_handler and eh_personality
...
The rust compiler no longer mentions the panic_impl language item.
2018-11-13 11:06:35 +01:00
Philipp Oppermann
d9f3b3d155
Remove wrong extern crate x86_64 from code example
2018-11-13 10:42:18 +01:00
Philipp Oppermann
f5b6b7a240
Typo: becaues -> because
2018-11-13 10:40:31 +01:00
Philipp Oppermann
a56112e789
The bootloader is now buildable on all platforms ( #497 )
...
It is now also linked with LLD, so it can be compiled out of the box on Linux, Windows, and macOS.
2018-11-09 08:56:19 +01:00
Noah Rinehart
b5b39d1b6e
Fix minor url typo for System V ABI on cpu-exceptions page ( #496 )
2018-11-07 17:52:42 +01:00
Philipp Oppermann
442da8c9eb
Remove wrong Option in code example
2018-11-05 13:34:04 +01:00
Will Gulian
24c6a85f18
Fix minor typo on cpu-exceptions page ( #495 )
2018-11-04 14:55:25 +01:00
Philipp Oppermann
68f8d238d8
Fix typo: 8259 APIC -> 8259 PIC
2018-10-31 12:42:33 +01:00
bors[bot]
ead49217c0
Merge #494
...
494: Fix typo in CPU exceptions post r=phil-opp a=jabedude
Fix a small typo in cpu-exceptions blog post.
Co-authored-by: Josh Abraham <sinisterpatrician@gmail.com >
2018-10-28 13:45:16 +00:00
Josh Abraham
8dbdefdfad
Fix typo in CPU exceptions post
...
Fix a small typo in cpu-exceptions blog post.
2018-10-28 09:36:45 -04:00
Philipp Oppermann
7f36c84c0f
Don't build non-master branches
2018-10-28 14:11:32 +01:00
bors[bot]
c9f721d4c9
Merge #493
...
493: Use a nightly Rust version from the beginning r=phil-opp a=phil-opp
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2018-10-28 12:06:09 +00:00
Philipp Oppermann
768f81aedc
Use a nightly Rust version from the beginning
2018-10-28 13:04:35 +01:00
Philipp Oppermann
070e81964e
Use cargo-update-installed instead of cargo-update ( #491 )
2018-10-27 16:37:42 +02:00
bors[bot]
92c27c6545
Merge #490
...
490: Don't compile the interrupts module on Windows to fix cargo test r=phil-opp a=phil-opp
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2018-10-26 15:37:28 +00:00
Philipp Oppermann
b8206b895f
Move PICS import into _start function
2018-10-26 17:07:47 +02:00
Philipp Oppermann
d802763867
Appveyor: Only run cargo test on x86_64
...
Many parts of the `x86_64` library are not available on 32-bit x86 and
we currently don't do much target dependent conditional compilation in
blog_os since we only support a single architecture at the moment.
2018-10-26 17:07:47 +02:00
Philipp Oppermann
b1c8df2a7f
Don't compile the interrupts module on Windows to fix cargo test
2018-10-26 16:08:51 +02:00
Philipp Oppermann
1b52ff1acf
Fix: standard library -> core library
2018-10-26 12:30:20 +02:00
Donald Pinckney
250a80dd77
Fix typo in hardware interrupts post ( #489 )
2018-10-25 17:10:12 +02:00
Donald Pinckney
d6c812ea28
Correct the filenames in comments for where _start() is. ( #488 )
2018-10-25 14:29:22 +02:00
Donald Pinckney
1ed19359b5
Fix typos in 06 and 07 posts. ( #487 )
2018-10-25 14:27:37 +02:00
Philipp Oppermann
7df441c014
Merge pull request #486 from phil-opp/building-on-android
...
Add extra post about building on Android
2018-10-24 15:42:46 +02:00
Philipp Oppermann
8330447463
Link extra content from the front page
2018-10-24 15:40:40 +02:00
Philipp Oppermann
ca9279e3f9
Add extra post about building on Android
2018-10-24 15:35:46 +02:00
Philipp Oppermann
bf59190406
Remove the second-edition warning from extra content
2018-10-24 15:35:15 +02:00
Philipp Oppermann
cefb137e1e
The RSS feed now includes the full post content
2018-10-24 12:14:41 +02:00