Philipp Oppermann
4804317b24
Take InterruptStackFrame by value as required by x86_64 v0.14
2021-05-17 11:43:22 +02:00
Philipp Oppermann
d26b91121c
Merge branch 'post-04' into post-05
2020-10-02 23:35:26 +02:00
Philipp Oppermann
d4e1f47e62
Update post-04 to use compiler_builtins mem feature instead of rlibc ( #868 )
...
* Remove rlibc and use compiler-builtins-mem feature (#865 )
* Update post-04 to use compiler_builtins `mem` feature instead of `rlibc`
Co-authored-by: Rob Gries <robert.w.gries@gmail.com >
2020-10-02 23:28:03 +02:00
Philipp Oppermann
3ac92cf275
Merge branch 'post-04' into post-05
2020-07-17 11:23:27 +02:00
Philipp Oppermann
acf3717551
Move extern crate rlibc to lib.rs
2020-07-17 11:22:42 +02:00
Philipp Oppermann
6292789393
Merge branch 'post-03' into post-04
2020-07-17 11:19:25 +02:00
Philipp Oppermann
651adbc8bd
Merge branch 'post-02' into post-03
2020-07-17 11:16:18 +02:00
Philipp Oppermann
16ffe80fd5
Add dependency on rlibc
2020-07-16 15:39:07 +02:00
Philipp Oppermann
7846bd0559
Remove superfluous printing from test_breakpoint_exception
2020-06-08 11:55:24 +02:00
Philipp Oppermann
3ccc602e38
Merge branch 'post-04' into post-05
2020-06-08 11:53:01 +02:00
Philipp Oppermann
3ee6badb33
Keep trivial_assertion test
2020-06-08 11:39:09 +02:00
Philipp Oppermann
9f9ff59489
Create a testable trait for printing test messages automatically
2020-06-08 11:04:03 +02: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
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
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
b895f8c745
Update code for changes in x86_64 0.5.0
2019-03-09 12:29:44 +01:00
Philipp Oppermann
62e2cee989
Merge branch 'post-05' into post-06
2019-02-05 10:45:12 +01:00
Philipp Oppermann
69ab78108b
Merge branch 'post-04' into post-05
2019-02-05 10:45:12 +01:00
Philipp Oppermann
2db616bd7d
Merge branch 'post-03' into post-04
2019-02-05 10:45:11 +01:00
Philipp Oppermann
af0b258279
Make vga_buffer::{ScreenChar, Buffer} repr(transparent)
2019-02-05 10:44:52 +01:00
Philipp Oppermann
cc3a868863
Merge branch 'z_post_05' into z_post_06
2019-01-25 14:46:17 +01:00
Philipp Oppermann
d1545e7fbf
Merge branch 'z_post_04' into z_post_05
2019-01-25 14:46:04 +01:00
Philipp Oppermann
be46130322
Merge branch 'z_post_03' into z_post_04
2019-01-25 14:45:46 +01:00
Philipp Oppermann
b5c05193e1
Document vga buffer methods
2019-01-25 14:39:47 +01:00
Philipp Oppermann
e0ed423e52
Explain the LLVM bug on Windows in more detail
2019-01-25 14:37:46 +01:00
Philipp Oppermann
b96636984c
Workaround an LLVM bug
2019-01-25 13:53:17 +01:00
Philipp Oppermann
b9dd088dc1
Create test-exception-breakpoint integration test
2019-01-25 13:51:39 +01:00
Philipp Oppermann
c6bd48e812
Load and test our new IDT
2019-01-25 13:51:06 +01:00
Philipp Oppermann
9448b0e025
Create a new IDT
2019-01-25 13:49:09 +01:00
Philipp Oppermann
ade6c99885
Add an interrupts module
2019-01-25 13:47:28 +01:00
Philipp Oppermann
59579108a7
Add test-basic-boot and test-panic integration tests
2019-01-25 13:45:38 +01:00
Philipp Oppermann
bd39105793
Split crate into lib.rs and main.rs
2019-01-25 13:44:04 +01:00
Philipp Oppermann
d007aae993
Exit qemu
2019-01-25 13:38:26 +01:00
Philipp Oppermann
c21f051300
Add a serial module
2019-01-25 13:37:20 +01:00