Skip to content
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

Drop memmove and set_mem from boot services #906

Merged
merged 1 commit into from Aug 1, 2023

Conversation

nicholasbishop
Copy link
Contributor

There's no good reason to the UEFI version of these functions over core Rust functions like core::ptr::copy and core::ptr::write_bytes. The safety requirements of the core functions are also better documented.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

There's no good reason to the UEFI version of these functions over core Rust
functions like `core::ptr::copy` and `core::ptr::write_bytes`. The safety
requirements of the `core` functions are also better documented.
@nicholasbishop nicholasbishop marked this pull request as ready for review July 29, 2023 18:29
@phip1611 phip1611 added this pull request to the merge queue Aug 1, 2023
Merged via the queue into rust-osdev:main with commit b7f256b Aug 1, 2023
12 checks passed
@phip1611
Copy link
Contributor

phip1611 commented Aug 1, 2023

That merge train feature is really nice 👍🏻 I like it @nicholasbishop

@nicholasbishop nicholasbishop deleted the bishop-drop-memmove branch August 1, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants