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

mem: clarify confusion around MemoryDescriptor #1174

Merged
merged 1 commit into from
May 22, 2024

Conversation

phip1611
Copy link
Member

Clarify the confusion I already described in our zulip

Checklist

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

@phip1611 phip1611 force-pushed the mdesc branch 4 times, most recently from f0f86e0 to 6eeefae Compare May 22, 2024 17:44
I was wondering why `desc_size` is always 48 even size_of of the properly typed struct
reported 40. This is by design to force users to use `desc_size`.
@nicholasbishop nicholasbishop added this pull request to the merge queue May 22, 2024
Merged via the queue into rust-osdev:main with commit 3f9a5f2 May 22, 2024
12 checks passed
@phip1611 phip1611 deleted the mdesc branch July 14, 2024 06:58
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