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

argument parsing: add size to memory argument #492

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

petreeftime
Copy link
Contributor

@petreeftime petreeftime commented Apr 18, 2023

This commit adds an optional size indicator to the memory argument, to
simplify declaration of memory. For example, 2G would be equivalent to
2048MiB. The reason to add this is that when using large enclave sizes,
such as 2TiB, writing down the actual number requires a calculator.

Pending: Looking at making the same change in the allocator, for the same reason. Will update this separately.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@petreeftime petreeftime force-pushed the memory-units branch 3 times, most recently from dc00847 to 36ad404 Compare April 18, 2023 17:18
This commit adds an optional size indicator to the memory argument, to
simplify declaration of memory. For example, 2G would be equivalent to
2048MiB. The reason to add this is that when using large enclave sizes,
such as 2TiB, writing down the actual number requires a calculator.

Signed-off-by: Petre Eftime <[email protected]>
@petreeftime petreeftime marked this pull request as ready for review May 8, 2023 10:23
@belveryin belveryin requested review from meerd, eugkoira and mariusknaust and removed request for eugkoira and mariusknaust September 28, 2023 14:15
@belveryin belveryin merged commit 20c7b12 into aws:main Oct 2, 2023
6 checks passed
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.

3 participants