Skip to content

0.19.1

Compare
Choose a tag to compare
@dd86k dd86k released this 05 Dec 21:02
· 68 commits to master since this release

Maintenance release to fix SGX detection. This also adds supports for SGX1 and SGX2 bits.

When the system BIOS has the SGX feature set to "Enabled", this only enables CPUID.7h.EBX[2]. This only supports fixed-size enclaves.

When the system BIOS has the SGX feature set to "User Controlled", this enables the prior bit plus CPUID.12h.EAX[0] for SGX1, CPUID.12.EAX[1] for SGX2, CPUID.12h.EDX[7:0] for maximum size (2^n) in non-64-bit modes, and CPUID.12h.EDX[15:8] for maximum size (2^n) in 64-bit mode.

For example, my Pentium N5000 Silver supports SGX with maximum memory sizes of 2GB (32-bit) and 64GB (64-bit). The BIOS supports sizes of 32MB, 64MB, and 128MB in Enabled mode (SGX1). In User Controlled mode, all SGX1/SGX2/size information were available.

The manual also saw many corrections (thanks Jan) such as:

  • Adds information about SGX1, and SGX2 including figures;
  • Adds information about paravirtualization including figures;
  • Fixed "Year Introduced" inconsistencies in syntax;
  • Rewritten Notation section;
  • And fixed SSE4.2 XML acceleration dead link. Thanks Intel.

Don't forget to check the Detailed View with -d or --details!

Changelog

  • Added: SGX1/SGX2 (EDMM) support. When neither are available, only "SGX" is printed (fixed enclave sizes).
  • Added: Legacy extensions to Summary view.
  • Improved: Changed "ACPI" to "System" to better reflect the category. Also because APIC isn't an ACPI standard.
  • Fixed: SGX detection.