Commit Graph

34 Commits

Author SHA1 Message Date
Philipp Oppermann
b8206b895f Move PICS import into _start function 2018-10-26 17:07:47 +02:00
Philipp Oppermann
678ea47cbe Merge branch 'master' into hardware-interrupts 2018-10-20 19:00:37 +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
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
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
22bf95ac19 Run rustfmt 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
Philipp Oppermann
ba266f31c5 ColorCode::new does not need to be a const fn 2018-05-01 17:28:16 +02:00
Philipp Oppermann
44ffa1d046 Create new post about unit testing 2018-04-25 20:39:16 +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
557b869aa4 Update the VGA buffer post for the second edition 2018-03-04 23:19:07 +01:00
Philipp Oppermann
7be59b571d Use static and for loop for printing Hello World 2018-02-10 16:47:21 +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
5823bcb7ab Initial code for second edition 2018-02-10 16:42:51 +01:00