Commit Graph

140 Commits

Author SHA1 Message Date
acheronfail
4f2bb34218 Merge branch 'refactor-interrupts' into refactor-interrupts 2018-10-18 22:58:42 +11:00
acheronfail
a80ae0d06a feedback: fix some typos 2018-10-18 22:57:37 +11:00
Philipp Oppermann
da09ad3362 Clarify that the exceptions tests use their own IDT 2018-10-18 13:50:00 +02:00
acheronfail
168e2b3d89 feedback: add explanation for adding #[macro_use] before import 2018-10-18 18:46:36 +11:00
acheronfail
61397dbb07 feedback: mention creating a new interrupts module 2018-10-18 08:59:30 +11:00
acheronfail
206fb7cc8a refactor exception code into interrupts.rs 2018-10-18 08:21:58 +11:00
Tshepang Lekhonkhobe
36d56438a2 freestanding-rust-binary: small improves (#471) 2018-10-14 16:19:25 +02:00
Tshepang Lekhonkhobe
b30c3f653e minimal-rust-kernel: typo (#472) 2018-10-14 16:18:55 +02:00
Philipp Oppermann
23e35b8d9b Fix typo in code example
Closes #470
2018-10-07 15:26:53 +02:00
Philipp Oppermann
6f48a17ba4 Pub and no_mangle are no longer required for panic_handler (#468) 2018-10-01 13:11:39 +02:00
Philipp Oppermann
2dd925d34d Don't mention the deprecated panic_implementation
It existed only for a very short time, so I think that not many people will remember this attribute.
2018-10-01 10:39:09 +02:00
Ben
2a9075d642 Rfc 2070 panic implementation deprecated (#467)
* Make changes to code examples.

* Explain that panic_implementation has been deprecated

* Update attributes in source code.
2018-10-01 10:38:48 +02:00
Kazushige Tominaga
91001d9158 Use write_string instead of write_str in example code (#462) 2018-08-14 12:57:18 +02:00
Kenta
06011a6317 typo fix (#463) 2018-08-13 13:02:00 +02:00
Philipp Oppermann
a2d99bb52e Improve introductions of various posts 2018-07-26 19:15:50 +02:00
Philipp Oppermann
f551116714 Typo: deadbeaf -> deadbeef 2018-07-23 11:07:49 +02:00
Philipp Oppermann
f2d2c476f3 The bootloader_precompiled crate should be in lib.rs 2018-07-20 10:50:11 +02:00
Philipp Oppermann
c198d86538 Update bootimage test output 2018-07-20 10:32:40 +02:00
Philipp Oppermann
42bfe4b357 Update “Minimal Rust Kernel” to bootimage 0.5.0 2018-07-20 10:27:08 +02:00
Philipp Oppermann
934c7f3413 Link to Github instead of gists 2018-07-14 14:34:21 +02:00
Philipp Oppermann
0f07341dea Update to x86_64 0.2.8: The Idt type was renamed to InterruptDescriptorTable 2018-07-14 14:32:33 +02:00
Philipp Oppermann
841684593f Clarify that we create a kernel for x86 2018-07-09 12:33:55 +02:00
Philipp Oppermann
0b98799673 The bundled LLD linker was renamed to rust-lld (#457) 2018-07-09 12:16:59 +02:00
Donald Pinckney
b0d18c735b Very small pluralization grammar fix in post 01 (#454) 2018-07-08 19:12:01 +02:00
Michael Noronha
9f6966d7f2 Add missing semicolon in integration tests post (#455) 2018-07-08 19:09:59 +02:00
Nils Siemons
b4dd2de117 Update abi_x86_interrupt error message 2018-07-02 14:26:00 +02:00
Nils Siemons
dbb8575692 Fix: should be main.rs instead of lib.rs
The feature flag for `abi_x86_interrupt` needs to be in `main.rs`
2018-07-02 13:58:06 +02:00
Erlend
3e570a8cfb Fix links that pointed to a redirection page (#447) 2018-07-01 18:58:00 +02:00
Philipp Oppermann
3365a4f9ff Remove unneeded const_fn feature 2018-07-01 18:26:48 +02:00
skierpage
795b84a447 explain choice of 0xf4 for I/O port (#446)
based on issue 443 comment 400625857
2018-06-28 09:05:10 +02:00
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
Philipp Oppermann
e8b6801de1 Fix typo 2018-06-27 12:22:08 +02:00
Philipp Oppermann
22470e7c87 Fix: should be “integration test” instead of “unit test” 2018-06-27 12:22:00 +02:00
Erlend
83873ab54b Fix confusing wording (#444) 2018-06-25 16:22:42 +02:00
Philipp Oppermann
0bc3ebe3a5 Explain unsafe uses in double faults post 2018-06-20 12:42:41 +02:00
Philipp Oppermann
275ba7509f Remove TODO introduced by rebasing
(this already exists)
2018-06-20 12:06:12 +02:00
Philipp Oppermann
deaf48e319 Update x86_64 to version 0.2.6 2018-06-18 23:48:56 +02:00
Philipp Oppermann
1ed7a4ceb8 Add missing } in code example 2018-06-18 23:48:17 +02:00
Philipp Oppermann
233e32b570 Update “what's next” section of previous post 2018-06-18 21:30:47 +02:00
Philipp Oppermann
18fadda280 Update and extend post 2018-06-18 21:30:47 +02:00
Philipp Oppermann
5499471279 Begin porting the double faults post 2018-06-18 21:30:47 +02:00
Philipp Oppermann
97a87728f7 Port cpu exceptions post to second edition 2018-06-17 20:16:41 +02:00
Philipp Oppermann
c39835e61e Extend explanation of lazy_static 2018-06-17 20:08:06 +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
837d1502e9 Update post date 2018-06-15 09:47:01 +02:00
Philipp Oppermann
30493e763b Last minute improvements 2018-06-15 09:47:01 +02:00
Philipp Oppermann
e585d72216 Fix typo: _start_ -> _start 2018-06-15 09:47:01 +02:00
Philipp Oppermann
2ed8d94c67 Allow unused imports for cargo test 2018-06-15 09:47:01 +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