Skip to content

Add PhysicalAddress/VirtualAddress to uefi-raw and use them from uefi #789

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

Merged
merged 1 commit into from
May 5, 2023

Conversation

nicholasbishop
Copy link
Member

Checklist

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


/// Physical memory address. This is always a 64-bit value, regardless
/// of target platform.
pub type PhysicalAddress = u64;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how beneficial this is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This typedef is part of the spec: EFI_PHYSICAL_ADDRESS

It gets used in a fair number of function definitions in the spec, so I think it's good to have.

@phip1611 phip1611 force-pushed the bishop-raw-addr-types branch from efc7fa2 to d82019d Compare May 5, 2023 13:44
@phip1611 phip1611 merged commit 5db374a into rust-osdev:main May 5, 2023
@nicholasbishop nicholasbishop deleted the bishop-raw-addr-types branch May 5, 2023 16:07
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.

2 participants