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

Consider incorporating data from SMBIOS into the output #104

Open
marknelsonengineer opened this issue Oct 16, 2023 · 0 comments
Open

Consider incorporating data from SMBIOS into the output #104

marknelsonengineer opened this issue Oct 16, 2023 · 0 comments

Comments

@marknelsonengineer
Copy link
Contributor

When documenting SGX hardware, we really need to document 2 elements:

  • The CPU model
  • The motherboard/BIOS

test-sgx currently documents the CPU model. It does this via the CPUID instruction which can run in user-mode.

Data about the motherboard/bios is available on modern systems via SMBIOS: https://www.dmtf.org/standards/smbios

... the problem is it's not easily available in generic C as a user mode process. I think having test-sgx report this data is a great feature, but we need a discussion of the best way to obtain it. For example:

  • Have the program run as a root process in Linux
  • Split the source code into a Windows and Linux (it's a bit easier to obtain on Windows platforms via Win32 APIs)
  • ...Something else...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants