Expand fpusave union to include x86_64 versions
authorJohn Marino <draco@marino.st>
Tue, 17 Jan 2017 20:00:55 +0000 (14:00 -0600)
committerJohn Marino <draco@marino.st>
Tue, 17 Jan 2017 21:18:27 +0000 (15:18 -0600)
commit70ca95ba54ff83b919b4678c14374e28c08c2d3e
treeb18d484aa1a072a9a147a46db6f2d91b0c1216f7
parent867a0dcb7ce04b8c1b07e912a937e365d9f37f39
Expand fpusave union to include x86_64 versions

The structure of envmmx remains a constant size, but changes composition
between the i386 and x86_64 versions.  While here, flesh out the
832-byte saveymm structure, also distinguishing between 32 and 64 bit
versions.

While here, convert u_char, u_short, u_int16_t, u_int32_t to standard
integers; <sys/types.h> with it's redundant guards is no longer required
although <stdint> is now needed.

This allows the fpu context to be seen on x86_64 by casting the fpusave
union to the new savexmm64 and saveymm64 structures.
sys/cpu/x86_64/include/npx.h