-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release version v0.13.0 #223
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Extend `TranslateResult` returned by `MapperAllSizes::translate()` with the page flags. This way, there is a method to get the flags for the page of a `VirtAddr`.
This makes it possible to use the method with trait objects. Resolves rust-osdev/acpi#78
Relaxe `Sized` requirement for `FrameAllocator` in `Mapper::map_to`
This fixes the clippy warnings we currently see on CI. Since this changes the signature of public functions, this is a **breaking change**. However, I don't expect that much code is broken by this.
Use custom error types instead of `()`
Restructure the `TranslateResult` type and create separate `Translate` trait
The new trait and method names better describe their purpose. Since the implementer must make sure that the returned pointer is valid and accessible, the trait is now unsafe to implement. Because of this requirement we also need to remove the generic implementation of this trait for closures.
Makes it clear that segmentation is applied before paging.
Rename `PhysToVirt` trait to `PageTableFrameMapping`
Make `DescriptorTablePointer::base` a `VirtAddr`
Change return type of `read_rip` to `VirtAddr`
Remove `PortReadWrite` trait, which is no longer needed
Make writing the RFLAGS register unsafe
The `cargo publish` happens after the version bump PR is merged, so we need to create the tag for the merge commit.
Makes it more clear that this commit only includes the version bump. The `cargo publish` might happen on a later commit, e.g. a merge commit.
TODO after merge:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog:
MapperAllSizes::translate()
(#207)TranslateResult
type and create separateTranslate
trait (#211)PhysToVirt
trait toPageTableFrameMapping
(#214)()
(#199)UnusedPhysFrame
ExceptionStackFrame
VirtAddr::new_unchecked
interrupts::enable_interrupts_and_hlt
DescriptorTablePointer::base
aVirtAddr
(#215)read_rip
toVirtAddr
(#216)PortReadWrite
trait, which is no longer needed (#217)Sized
requirement forFrameAllocator
inMapper::map_to
(204)