Philipp Oppermann
bf19acea61
Adjust post-08 to take InterruptStackFrame by value
2021-05-17 12:46:46 +02:00
Philipp Oppermann
c3d3b132b3
Merge branch 'post-07' into post-08
2021-05-17 12:45:11 +02:00
Philipp Oppermann
75abc110d4
Adjust post-07 to take InterruptStackFrame by value
2021-05-17 12:40:11 +02:00
Philipp Oppermann
3aa979ebe0
Switch to forked pic8259 crate to fix nightly build error
2021-05-17 12:39:57 +02:00
Philipp Oppermann
80e52e4e99
Merge branch 'post-07' into post-08
2021-05-17 11:47:14 +02:00
Philipp Oppermann
ad4b2a2e64
Merge branch 'post-06' into post-07
2021-05-17 11:47:14 +02:00
Philipp Oppermann
d55fa1ee24
Adjust post-06 to take InterruptStackFrame by value
2021-05-17 11:46:24 +02:00
Philipp Oppermann
d61e579799
Merge branch 'post-07' into post-08
2021-05-17 11:44:50 +02:00
Philipp Oppermann
1e22d287e3
Merge branch 'post-06' into post-07
2021-05-17 11:44:50 +02:00
Philipp Oppermann
5ae0f13fa4
Merge branch 'post-05' into post-06
2021-05-17 11:44:50 +02:00
Philipp Oppermann
4804317b24
Take InterruptStackFrame by value as required by x86_64 v0.14
2021-05-17 11:43:22 +02:00
Philipp Oppermann
d26577ad86
Merge branch 'post-07' into post-08
2020-06-08 12:06:37 +02:00
Philipp Oppermann
95612c1d3c
Merge branch 'post-06' into post-07
2020-06-08 12:05:05 +02:00
Philipp Oppermann
8c10bbb096
Merge branch 'post-05' into post-06
2020-06-08 11:57:12 +02:00
Philipp Oppermann
7846bd0559
Remove superfluous printing from test_breakpoint_exception
2020-06-08 11:55:24 +02:00
Philipp Oppermann
9324ea45a5
Merge branch 'post-07' into post-08
2020-02-26 12:21:28 +01:00
Ryan Kennedy
de509e058f
Switched to HandleControl::Ignore
2020-02-25 10:32:39 -06:00
Ryan Kennedy
2a8f499f73
Might help if I use cargo fmt
2020-02-22 19:02:57 -06:00
Ryan Kennedy
2634bb2d37
Updated pc-keyboard to 0.5.0
2020-02-22 18:55:21 -06:00
Philipp Oppermann
9d31eb8aa8
Merge branch 'post-07' into post-08
2019-12-10 17:17:53 +01:00
Philipp Oppermann
3ffd71723f
Merge branch 'post-06' into post-07
2019-12-10 17:17:53 +01:00
Philipp Oppermann
d1cf8000a3
Make double fault handlers diverging
...
Required by x86_64 0.8.0.
2019-12-10 17:02:46 +01:00
Philipp Oppermann
37b8b42cba
Add missing hlt_loop import
2019-11-25 13:35:18 +01:00
Philipp Oppermann
1e86c9f5f0
Merge branch 'post-07' into post-08
2019-11-25 13:25:15 +01:00
Philipp Oppermann
084a77775f
Merge branch 'post-06' into post-07
2019-11-25 13:25:02 +01:00
Philipp Oppermann
590585da33
Merge branch 'post-05' into post-06
2019-11-25 13:24:09 +01:00
Philipp Oppermann
6828849bc4
Remove cfg(not(windows)) from interrupt module
...
This is no longer required and was already removed from the post in commit 992b958414 .
2019-11-25 13:19:07 +01:00
Philipp Oppermann
723776f852
Merge branch 'post-07' into post-08
2019-11-22 16:33:23 +01:00
Philipp Oppermann
b5b37d6e2b
Remove unused crate::hlt_loop import
2019-11-22 16:12:28 +01:00
Philipp Oppermann
c3f76cf1f0
Use panic instead of println + hlt_loop for double fault handler
2019-11-22 16:06:56 +01:00
Philipp Oppermann
3470636653
Use panic! instead of println! + loop in double fault handler ( #687 )
...
This avoids an endless loop when a double fault occurs while running `cargo xtest`.
2019-11-22 15:56:56 +01:00
Philipp Oppermann
7020999ab8
The error code issue is fixed, so let's print it ( #643 )
...
See https://github.com/phil-opp/blog_os/issues/513 for more information.
2019-07-22 10:46:19 +02:00
Philipp Oppermann
a4a7b5e8d6
Merge branch 'post-07' into post-08
2019-05-09 15:38:47 +02:00
Philipp Oppermann
13923c59f2
Fix: Make keyboard port mutable
...
This is required because of the update to x86_64 0.7.0 (see #606 ).
2019-05-09 15:38:34 +02:00
Philipp Oppermann
d6f48d72aa
Remove duplicated import
2019-04-26 15:27:48 +02:00
Philipp Oppermann
6099fddd54
Merge branch 'post-07-new' into post-08-new
2019-04-26 15:26:47 +02:00
Philipp Oppermann
ad6cb02d5c
Merge branch 'post-06-new' into post-07-new-rebased
2019-04-26 15:24:28 +02:00
Philipp Oppermann
82014268da
Merge branch 'post-05-new' into post-06-new-rebased
2019-04-26 15:05:55 +02:00
Philipp Oppermann
a5b6422785
Add a test for the breakpoint exception
2019-04-26 14:57:14 +02:00
Philipp Oppermann
f05aaeb0ac
Update post-09 code for changes in x86_64 0.5.0
2019-03-09 12:39:14 +01:00
Philipp Oppermann
78a30984bc
Merge branch 'post-08' into post-09
2019-03-09 12:38:25 +01:00
Philipp Oppermann
09dd68a1a2
Update post-08 code for changes in x86_64 0.5.0
2019-03-09 12:37:45 +01:00
Philipp Oppermann
81e4eec055
Merge branch 'post-07' into post-08
2019-03-09 12:36:39 +01:00
Philipp Oppermann
8e5b6a3e3f
Update post-07 code for changes in x86_64 0.5.0
2019-03-09 12:34:49 +01:00
Philipp Oppermann
be0ed3a54d
Merge branch 'post-06' into post-07
2019-03-09 12:32:03 +01:00
Philipp Oppermann
b895f8c745
Update code for changes in x86_64 0.5.0
2019-03-09 12:29:44 +01:00
Philipp Oppermann
18d8d311cb
Merge branch 'post-08' into post-09
2019-02-25 17:04:40 +01:00
Philipp Oppermann
7b61da94a0
Run cargo fmt
2019-02-25 17:04:25 +01:00
Philipp Oppermann
76d3715eef
Merge branch 'post-08' into post-09
2019-02-12 19:31:09 +01:00
Antoine
babf9d8cce
Introduce an InterruptIndex enum ( #557 )
...
The following modifications aim to group the hardware interrupts' indexes in an easily accessible structure, while being more friendly to eventual evolutions.
* the hardware interrupts' indexes `TIMER_INTERRUPT_ID` and `KEYBOARD_INTERRUPT_ID` have been replaced by the attributes `Timer` and `Keyboard` contained in `enum InterruptIndex`.
* only the first attribute `Timer` is explicitly declared, the following as inferred by the compiler.
* the functions `as_u8` and `as_usize` avoid the need of casts to `u8` or `usize`.
2019-02-12 19:28:24 +01:00