Philipp Oppermann
|
3a230d0624
|
Remove dangerous create_example_mapping test function
|
2020-10-08 17:01:55 +02:00 |
|
Philipp Oppermann
|
491889a237
|
Update paging code for x86_64 v0.11.0
|
2020-05-20 14:29:36 +02:00 |
|
Philipp Oppermann
|
c7bc26d8ee
|
Update frame allocation code to x86_64 0.8.1
|
2019-12-11 16:26:38 +01: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
|
211ec3898b
|
Use OffsetPageTable instead of MappedPageTable
|
2019-09-11 13:40:36 +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
|
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
|
2e531850b8
|
Remove redundant import
|
2019-04-26 15:29:43 +02:00 |
|
Philipp Oppermann
|
e9344ae046
|
Remove unneeded into_iter() in init_frame_allocator
|
2019-03-14 13:20:26 +01:00 |
|
Philipp Oppermann
|
a1bf5651fc
|
Create an init_frame_allocator function
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
763228c859
|
Create a generic BootInfoFrameAllocator type
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
3e59283c19
|
Create an EmptyFrameAllocator
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
6146ccba2d
|
Add a memory::create_example_mapping function
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
b0e1527a95
|
Delete our memory::translate_addr function again
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
98b5976656
|
Create a memory::init function that initializes a MappedPageTable
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
9335386928
|
Add and test a memory::translate_addr function
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
e387c0b6b8
|
Create a memory::active_level_4_table function
|
2019-03-14 10:30:37 +01:00 |
|
Philipp Oppermann
|
ef1cc0ed4f
|
Reset code to post-09 branch for new 'Paging Implementation' post
|
2019-03-14 10:20:46 +01:00 |
|
Philipp Oppermann
|
10c4d0509d
|
Update post-10 code for changes in x86_64 0.5.0
We no longer need a custom translate function as we can directly use MapperAllSizes::translate_addr.
|
2019-03-09 12:40:27 +01:00 |
|
Philipp Oppermann
|
67f536d7c6
|
Add a BootInfoFrameAllocator
|
2019-01-28 11:28:51 +01:00 |
|
Philipp Oppermann
|
818417d119
|
Try to create example mapping for page 0xdeadbeaf000
|
2019-01-28 11:23:46 +01:00 |
|
Philipp Oppermann
|
f272785861
|
Create example mapping for page 0x1000
|
2019-01-28 11:19:46 +01:00 |
|
Philipp Oppermann
|
5d807ee622
|
Run rustfmt
|
2019-01-28 11:19:34 +01:00 |
|
Philipp Oppermann
|
f2bc2d33f0
|
Rewrite translation function on top of RecursivePageTable
|
2019-01-27 14:38:49 +01:00 |
|
Philipp Oppermann
|
8b380f0692
|
Create a new memory module with a translate_addr function
|
2019-01-27 14:38:49 +01:00 |
|