chore: merge master into next - #598
Merged
Merged
Conversation
fix(mapper): inline internal `map_to_*` functions
docs: fix typos
ci: add typos job
docs(page): fix typos
rustc will warn about unused features: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-features
…ture don't enable abi_x86_interrupt if not needed
Insert a NOP instruction after STI to make sure the interrupt shadow doesn't extend past the enable function. From the AMD64 APM, Volume 3: > If STI sets the IF flag and IF was initially clear, then interrupts > are not enabled until after the instruction following STI. Thus, if > IF is 0, this code will not allow an INTR to happen: > > STI > CLI > > In the following sequence, INTR will be allowed to happen only after the NOP. > > STI > NOP > CLI
insert NOP after STI
PageRange::next and PageRangeInclusive::next should panic when the user tries to jump the address range gap.
... except when jumping the address space gap.
The new implementations match <PageRangeInclusive.
Given that I messed up the implementation in the past, let's not assume that the code is correct and test it instead. Notably, kani also proves that there are no panics (which used to a problem).
…d-iter implement DoubleEndedIterator for ranges + implement more iterator methods
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ctions/actions/checkout-7 Bump actions/checkout from 6 to 7
add missing {forward,backward}_overflowing impls
- Change `cs_sysret - 16` as `cs_sysret` rust-osdev#592
- Added a fn in `PhysFrame` so that we can create a frame easily (instead of converting)
…ctions to implement more about it
- Use `checked_mul` to ensure that the mul operation won't cause panick - Updated docs about `PhysAddrNotValid` to make it much clear rust-osdev#523
- Slightly reword things - Add more examples
InvalidPfn is more in line with the existing error names (VirtAddrNotValid, PhysAddrNotValid). Also move it down in the file. `PhysFrame` is arguably more important, so let's make sure it's at the top of the file.
feat: Added the "from_pfn" in PhysFrame
release 0.15.5
This file contains hidden or 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
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.
This merges master into next and handles the resulting conflicts.
The main conflict resulted from #574 specifically fc03c8f (refactor mapped_page_table.rs into directory). Luckily there was only 1 change I could find to
mapped_page_table.rswhich made it fairly easy to combine with the changes to the new directory in next.The other change was to
Changelog.mdwhere I accepted both current and incoming changes.