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
eb86565308
Merge branch 'post-07' into post-08
2019-06-17 17:28:32 +02:00
Philipp Oppermann
061dee44eb
Merge branch 'post-06' into post-07
2019-06-17 17:28:32 +02:00
Philipp Oppermann
9b4b810bd3
Merge branch 'post-05' into post-06
2019-06-17 17:28:32 +02:00
Philipp Oppermann
618d10eac8
Merge branch 'post-04' into post-05
2019-06-17 17:28:32 +02:00
Philipp Oppermann
7003268b9f
Merge branch 'post-03' into post-04
2019-06-17 17:28:32 +02:00
Philipp Oppermann
fcd849f471
Fix deprecated range syntax
2019-06-17 17:28:27 +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
111c3e1029
Comment out stack_overflow() call to keep cargo xtest working
2019-04-26 15:48:59 +02:00
Philipp Oppermann
62f913facc
Move test_main call to end of _start
2019-04-26 15:27:48 +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
8854b6b751
Move hlt_loop up to keep cfg(test) functions together
2019-04-26 15:25:41 +02:00
Philipp Oppermann
51cdc4db8b
Use hlt_loop in lib.rs too
2019-04-26 15:25:41 +02:00
Philipp Oppermann
ae93dc18c3
Fix race condition in test_println_output test
2019-04-26 15:25:41 +02:00
Philipp Oppermann
acfdf929ad
Move PIC initialization and interrupt::enable to blog_os::init
2019-04-26 15:25:41 +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
4774893a93
Call gdt::init from blog_os::init
2019-04-26 15:14:38 +02:00
Philipp Oppermann
3c59321b54
Remove old bootimage test integration test
2019-04-26 15:14:38 +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
b7eefae5f9
Delete old bootimage test integration tests
2019-04-26 14:57:14 +02:00
Philipp Oppermann
df8335f8c7
Add a new blog_os::init function instead of calling init_idt directly
2019-04-26 14:57:14 +02:00
Philipp Oppermann
f301ae461a
Merge branch 'post-04-new' into post-05-new
2019-04-26 14:56:25 +02:00
Philipp Oppermann
2e5f192f35
Make exit_qemu safe
2019-04-26 13:42:20 +02:00
Philipp Oppermann
48e1f72d23
Split off a library
2019-04-26 13:41:19 +02:00
Philipp Oppermann
d0629ba5a2
Import serial_println only in test mode
2019-04-26 13:41:19 +02:00
Philipp Oppermann
46bb44b95d
Run cargo fmt
2019-04-26 13:41:19 +02:00
Philipp Oppermann
4cbac20b40
Add tests for the VGA buffer
2019-04-26 13:41:19 +02:00
Philipp Oppermann
3ecf9a9b56
Exit qemu on panic
2019-04-26 13:41:19 +02:00
Philipp Oppermann
1559493802
Print test results over serial port
2019-04-26 13:41:19 +02:00
Philipp Oppermann
dbdd46da9a
Exit qemu after running tests
2019-04-26 13:41:17 +02:00
Philipp Oppermann
3aa6151729
Add a trivial_assertion test
2019-04-26 13:41:07 +02:00
Philipp Oppermann
0beb0d80f8
Add a custom test runner
2019-04-26 13:41:07 +02:00
Philipp Oppermann
23cbafab1c
Reset code to post-03 branch
2019-04-26 12:44:33 +02:00
Philipp Oppermann
7198a4d110
The code for reading the level 4 table was moved to the next post
2019-03-12 17:49:31 +01:00
Philipp Oppermann
1ed76411f7
Fix remaining use of ExceptionStackFrame in test
2019-03-09 14:21:03 +01: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
Philipp Oppermann
9617680e45
Merge branch 'post-08' into post-09
2019-02-05 10:45:12 +01:00