View | Details | Raw Unified | Return to bug 202766 | Differences between
and this patch

Collapse All | Expand All

(-)devel/valgrind/files/patch-coregrind_m_syswrap_syswrap_amd64_freebsd_c (+12 lines)
Line 0 Link Here
1
--- coregrind/m_syswrap/syswrap-amd64-freebsd.c.orig	2015-08-30 00:08:54.235669000 -0300
2
+++ coregrind/m_syswrap/syswrap-amd64-freebsd.c	2015-08-30 00:18:12.597607000 -0300
3
@@ -691,6 +691,9 @@
4
       SET_STATUS_Success2( tst->arch.vex.guest_FS_ZERO, tst->arch.vex.guest_RDX );
5
       POST_MEM_WRITE( ARG2, sizeof(void *) );
6
       break;
7
+   case VKI_AMD64_GET_XFPUSTATE:
8
+      PRINT("sys_amd64_get_xfpustate ( %#lx )", ARG2);
9
+      return (-1);
10
    default:
11
       VG_(message) (Vg_UserMsg, "unhandled sysarch cmd %ld", ARG1);
12
       VG_(unimplemented) ("unhandled sysarch cmd");
(-)devel/valgrind/files/patch-include__vki__vki-freebsd.h (+14 lines)
Lines 8-10 Link Here
8
 #include <netinet/tcp.h>
8
 #include <netinet/tcp.h>
9
 
9
 
10
 #define VKI_TCP_NODELAY  TCP_NODELAY
10
 #define VKI_TCP_NODELAY  TCP_NODELAY
11
@@ -1888,11 +1889,13 @@
12
 #define VKI_I386_SET_FSBASE     8
13
 #define VKI_I386_GET_GSBASE     9
14
 #define VKI_I386_SET_GSBASE     10
15
+#define VKI_I386_SET_XFPUSTATE	11
16
 
17
 #define VKI_AMD64_GET_FSBASE    128
18
 #define VKI_AMD64_SET_FSBASE    129
19
 #define VKI_AMD64_GET_GSBASE    130
20
 #define VKI_AMD64_SET_GSBASE    131
21
+#define	VKI_AMD64_GET_XFPUSTATE	132
22
 
23
 //----------------------------------------------------------------------
24
 // From sys/module.h

Return to bug 202766