ref: 01eb04060b0de65eca044566381e214fab99fea3
parent: de5770c3523e8ecb4f639417bf6f7592ed703c37
author: cinap_lenrek <[email protected]>
date: Tue Dec 8 07:42:36 EST 2020
pc: move ldmxcsr() prototype to fpu.c
--- a/sys/src/9/pc/fns.h
+++ b/sys/src/9/pc/fns.h
@@ -78,7 +78,6 @@
int isaconfig(char*, int, ISAConf*);
void* kaddr(ulong);
#define kmapinval()
-void ldmxcsr(ulong);
void lgdt(ushort[3]);
void lldt(ulong);
void lidt(ushort[3]);
--- a/sys/src/9/pc/fpu.c
+++ b/sys/src/9/pc/fpu.c
@@ -16,6 +16,7 @@
extern void fpssesave(FPsave*);
extern void fpx87restore0(FPsave*);
extern void fpx87save0(FPsave*);
+extern void ldmxcsr(ulong);
void
putxcr0(ulong)