41#ifndef _MACHINE_NPX_H_
42#define _MACHINE_NPX_H_
59 unsigned long fp_mantlo;
60 unsigned long fp_manthi;
115} __declspec(align(16));
140#define __INITIAL_NPXCW__ 0x127F
141#define __INITIAL_MXCSR__ 0x1F80
151#define npx_full_reset() outb(IO_NPX + 1, 0)
155void npxexit(
struct thread *td);
157int npxgetregs(
struct thread *td,
union savefpu *addr);
158void npxinit(
unsigned short control);
159void npxsave(
union savefpu *addr);
160void npxsetregs(
struct thread *td,
union savefpu *addr);
union savefpu __attribute__
unsigned __int16 uint16_t
unsigned __int32 uint32_t
unsigned char fp_bytes[10]
unsigned char sv_pad[224]
struct savexmm::@10 sv_fp[8]
unsigned char xmm_bytes[16]