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
|
b9a0702bc0
|
Merge branch 'post-09' into post-10
|
2019-11-25 13:35:20 +01:00 |
|
Philipp Oppermann
|
84ddda6a3f
|
Merge branch 'post-08' into post-09
|
2019-11-25 13:35:20 +01:00 |
|
Philipp Oppermann
|
37b8b42cba
|
Add missing hlt_loop import
|
2019-11-25 13:35:18 +01:00 |
|
Philipp Oppermann
|
2919cbdefc
|
Merge branch 'post-09' into post-10
|
2019-11-25 13:25:15 +01:00 |
|
Philipp Oppermann
|
f85664fd6b
|
Merge branch 'post-08' into post-09
|
2019-11-25 13:25:15 +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
|
059ea76848
|
Merge branch 'post-09' into post-10
|
2019-11-22 16:33:23 +01:00 |
|
Philipp Oppermann
|
a65573b061
|
Merge branch 'post-08' into post-09
|
2019-11-22 16:33:23 +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
|
f56e4d24e3
|
Add missing import
|
2019-09-14 19:08:53 +02:00 |
|
Philipp Oppermann
|
8d3d712cef
|
Merge branch 'post-09' into post-10
|
2019-09-14 19:06:30 +02:00 |
|
Philipp Oppermann
|
5cced71fb0
|
Directly use OffsetPageTable for create_example_mapping instead of impl trait
|
2019-09-14 18:33:37 +02:00 |
|
Philipp Oppermann
|
7ec727f69f
|
Update comment
|
2019-09-14 18:33:16 +02:00 |
|
Philipp Oppermann
|
211ec3898b
|
Use OffsetPageTable instead of MappedPageTable
|
2019-09-11 13:40:36 +02:00 |
|
Philipp Oppermann
|
f3a7689f33
|
Merge branch 'post-09' into post-10
|
2019-07-22 10:46:35 +02:00 |
|
Philipp Oppermann
|
e721878e4b
|
Merge branch 'post-08' into post-09
|
2019-07-22 10:46:35 +02: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
|
4792ec41b1
|
Adjust comments to be equal with post
|
2019-06-26 21:08:08 +02:00 |
|
Philipp Oppermann
|
5cf3884396
|
Run cargo fmt
|
2019-06-26 16:59:38 +02:00 |
|
Philipp Oppermann
|
f429a8ab03
|
Example use of Box, Vec, and Rc in kernel_main
|
2019-06-26 15:06:40 +02:00 |
|
Philipp Oppermann
|
d7484ab48b
|
Use linked_list_allocator crate instead of dummy allocator
|
2019-06-26 15:05:57 +02:00 |
|
Philipp Oppermann
|
06fc63028a
|
Create a heap memory area
|
2019-06-26 13:14:56 +02:00 |
|
Philipp Oppermann
|
d4623419b0
|
Try to use Box type in main.rs
This causes an allocation error because the Dummy::alloc function always returns a null pointer.
|
2019-06-26 12:34:57 +02:00 |
|
Philipp Oppermann
|
417c44159e
|
Add a alloc_error_handler function
|
2019-06-26 12:34:57 +02:00 |
|
Philipp Oppermann
|
ebbc6d55d2
|
Use dummy allocator as global allocator
|
2019-06-26 12:34:57 +02:00 |
|
Philipp Oppermann
|
c0367074ac
|
Create an allocator module with a dummy allocator
|
2019-06-26 12:34:57 +02:00 |
|
Philipp Oppermann
|
48e2175bac
|
Add a dependency on the alloc crate
|
2019-06-26 12:34:57 +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
|
b5793c34c6
|
Merge branch 'post-08' into post-09
|
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
|
64d1a587e7
|
Merge branch 'post-08' into post-09
|
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
|
7796d4c14a
|
FrameAllocator is an unsafe trait now
Make `BootInfoFrameAllocator` unsafe because the caller must guarantee that the given memory map is valid.
|
2019-05-03 19:29:14 +02:00 |
|
Philipp Oppermann
|
b5ee44621c
|
Use an import for initializing BootInfoFrameAllocator
|
2019-04-30 13:10:53 +02:00 |
|
Philipp Oppermann
|
24a9e7abd2
|
Simplify FrameAllocator implementation using Iterator::nth
|
2019-04-30 12:47:45 +02:00 |
|
Philipp Oppermann
|
180c77d1f4
|
Avoid generic impl trait parameters in BootInfoFrameAllocator
|
2019-04-30 11:14:23 +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
|
fd0646fecf
|
Improve formatting
|
2019-04-26 15:29:43 +02:00 |
|