shithub: riscv

Download patch

ref: dbbae6d38405cdd817f84e2ace104bb27963a246
parent: 97b32915334c700a8b282888481c7f37a6ae0442
author: Sigrid <[email protected]>
date: Sun Dec 6 15:28:53 EST 2020

xen: fix for the last avx changes

--- a/sys/src/9/xen/fns.h
+++ b/sys/src/9/xen/fns.h
@@ -9,7 +9,8 @@
 int		(*cmpswap)(long*, long, long);
 int		cmpswap486(long*, long, long);
 void	(*coherence)(void);
-void	cpuid(int, ulong regs[]);
+void	cpuid(int, int, ulong regs[]);
+void	fpuinit(void);
 int		cpuidentify(void);
 void	cpuidprint(void);
 void	(*cycles)(uvlong*);
--- a/sys/src/9/xen/mkfile
+++ b/sys/src/9/xen/mkfile
@@ -68,6 +68,7 @@
 	plan9l.$O\
 	xen.$O\
 	main.$O\
+	fpu.$O\
 	mmu.$O\
 	random.$O\
 	rdb.$O\