Commit Graph

308 Commits

Author SHA1 Message Date
Philipp Oppermann
e349388372 Update code to current post-10 branch
Latest commit on post-10 branch: e5dfbd4b23
2019-01-28 12:01:11 +01:00
Philipp Oppermann
6d5ebf56a4 Revise post and add new introduction 2019-01-28 11:11:24 +01:00
Philipp Oppermann
9673c9dc2c Rewrite breakpoint test 2019-01-20 23:00:59 +01:00
Philipp Oppermann
4e54bb9841 Run rustfmt 2019-01-14 14:00:54 +01:00
Philipp Oppermann
8d6eab6b33 Add code for post 2019-01-13 16:26:56 +01:00
Philipp Oppermann
ad7c11c0a3 Add #[doc(hidden)] to {vga_buffer, serial}::_print functions 2018-11-19 10:14:47 +01:00
Philipp Oppermann
f5aea8f015 Update testing posts 2018-11-18 15:26:21 +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
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
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
Philipp Oppermann
b8206b895f Move PICS import into _start function 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
Connor E
cd44531822 Use shorthand struct initialization syntax (#482) 2018-10-22 19:49:24 +02:00
Philipp Oppermann
fb489a30ee Move hlt_loop import into function 2018-10-20 19:04:09 +02:00
Philipp Oppermann
678ea47cbe Merge branch 'master' into hardware-interrupts 2018-10-20 19:00:37 +02:00
Philipp Oppermann
b40e5bd7b2 Group imports 2018-10-20 18:57:17 +02:00
Philipp Oppermann
5035872ab6 Run rustfmt 2018-10-20 18:57:17 +02:00
Philipp Oppermann
4583936f0b Remove some temporary variables 2018-10-20 18:57:17 +02:00
Philipp Oppermann
66d940559f Avoid deadlocks in println/serial_println 2018-10-20 18:57:17 +02:00
acheronfail
68ffc3cd59 refactor interrupts (#476) 2018-10-20 18:57:17 +02:00
acheronfail
5243ef874d add gifs for keyboard and fix source to compile 2018-10-20 18:55:04 +02:00
acheronfail
5b308be891 add screenshots and gif of hardware timer 2018-10-20 18:55:04 +02:00
acheronfail
7ad0ed9254 update source to match draft 2018-10-20 18:55:04 +02:00
Philipp Oppermann
da09ad3362 Clarify that the exceptions tests use their own IDT 2018-10-18 13:50:00 +02:00
acheronfail
e3d742c928 remove unused crate from main.rs 2018-10-18 14:16:17 +11:00
acheronfail
206fb7cc8a refactor exception code into interrupts.rs 2018-10-18 08:21:58 +11:00
Philipp Oppermann
6f48a17ba4 Pub and no_mangle are no longer required for panic_handler (#468) 2018-10-01 13:11:39 +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
Philipp Oppermann
f2d2c476f3 The bootloader_precompiled crate should be in lib.rs 2018-07-20 10:50:11 +02:00
Philipp Oppermann
6eabcf1704 Add bootloader_precompiled as a dependency 2018-07-20 10:30:11 +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
3365a4f9ff Remove unneeded const_fn feature 2018-07-01 18:26:48 +02:00
Philipp Oppermann
22bf95ac19 Run rustfmt 2018-06-18 23:48:17 +02:00
Philipp Oppermann
0b6174ace6 Use same import structure as in post 2018-06-18 23:48:17 +02:00
Philipp Oppermann
99c0fa5ebf Redesign code 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
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
6529cbc674 Run rustfmt 2018-06-12 19:26:17 +02:00
Philipp Oppermann
8b5be6ebc0 Implement code for integration test post 2018-06-12 19:25:53 +02:00
Philipp Oppermann
3e3778d982 Import PanicInfo only in non(test) environment 2018-06-05 11:11:25 +02:00
Philipp Oppermann
c33811ae3d Update unit testing post for new panic handler 2018-06-05 11:06:17 +02:00
Philipp Oppermann
d9d836fe2c Print panic message to vga buffer 2018-06-04 13:48:39 +02:00
Philipp Oppermann
3f61050387 Define panic handler using new panic_implementation attribute (#435) 2018-06-04 13:19:44 +02:00