Skip to content

Commit

Permalink
fix byte order for amd LeafExt1EInformation
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed May 29, 2019
1 parent 58e949d commit 6ae917b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/cpuid/amd.d
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ union LeafExt1EInformation
/// Extended APIC ID
uint ExtendedApicId;
// EBX
ushort __reserved__EBX;
/// The number of threads per core is ThreadsPerCore+1.
ubyte ThreadsPerCore;
/// Core ID
ubyte CoreId;
/// The number of threads per core is ThreadsPerCore+1.
ubyte ThreadsPerCore;
ushort __reserved__EBX;
version(D_Ddoc)
{
const @trusted @property pure nothrow @nogc:
Expand Down

0 comments on commit 6ae917b

Please sign in to comment.