|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
diff -ru mesa-18.0.0.orig/src/gallium/auxiliary/os/os_misc.c mesa-18.0.0/src/gallium/auxiliary/os/os_misc.c
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
--- mesa-18.0.0.orig/src/gallium/auxiliary/os/os_misc.c 2018-03-27 19:35:14.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+++ mesa-18.0.0/src/gallium/auxiliary/os/os_misc.c 2018-03-31 17:16:02.843416010 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -47,7 +47,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
-#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_MIDIPIX)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <unistd.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#elif defined(PIPE_OS_APPLE) || defined(PIPE_OS_BSD)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <sys/sysctl.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -124,7 +124,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
bool
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
os_get_total_physical_memory(uint64_t *size)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
{
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
-#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_MIDIPIX)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
const long phys_pages = sysconf(_SC_PHYS_PAGES);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
const long page_size = sysconf(_SC_PAGE_SIZE);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
diff -ru mesa-18.0.0.orig/src/gallium/auxiliary/rtasm/rtasm_x86sse.h mesa-18.0.0/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
--- mesa-18.0.0.orig/src/gallium/auxiliary/rtasm/rtasm_x86sse.h 2018-03-27 19:35:14.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -140,7 +140,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
{
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#ifdef PIPE_ARCH_X86
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
return X86_32;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
-#elif (defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_WINDOWS)) && defined(PIPE_ARCH_X86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#elif (defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_WINDOWS) || defined(PIPE_OS_MIDIPIX)) && defined(PIPE_ARCH_X86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
return X86_64_WIN64_ABI;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#elif defined(PIPE_ARCH_X86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
return X86_64_STD_ABI;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
diff -ru mesa-18.0.0.orig/src/gallium/auxiliary/util/u_network.c mesa-18.0.0/src/gallium/auxiliary/util/u_network.c
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
--- mesa-18.0.0.orig/src/gallium/auxiliary/util/u_network.c 2018-03-27 19:35:14.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -10,7 +10,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <windows.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <ws2tcpip.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_HAIKU) || \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
- defined(PIPE_OS_APPLE) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+ defined(PIPE_OS_APPLE) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_MIDIPIX)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <sys/socket.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <netinet/in.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# include <unistd.h>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
diff -ru mesa-18.0.0.orig/src/gallium/include/pipe/p_config.h mesa-18.0.0/src/gallium/include/pipe/p_config.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
--- mesa-18.0.0.orig/src/gallium/include/pipe/p_config.h 2018-03-27 19:35:15.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+++ mesa-18.0.0/src/gallium/include/pipe/p_config.h 2018-03-31 17:16:40.779187231 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -213,6 +213,11 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#define PIPE_OS_UNIX
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#if defined(__midipix__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#define PIPE_OS_MIDIPIX
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#define PIPE_OS_UNIX
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
/*
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
* Try to auto-detect the subsystem.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
*
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
diff -ru mesa-18.0.0.orig/src/util/xmlconfig.c mesa-18.0.0/src/util/xmlconfig.c
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
--- mesa-18.0.0.orig/src/util/xmlconfig.c 2018-03-27 19:35:15.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
@@ -40,7 +40,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
#undef GET_PROGRAM_NAME
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
-#if (defined(__GNU_LIBRARY__) || defined(__GLIBC__)) && !defined(__UCLIBC__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
+#if (defined(__GNU_LIBRARY__) || defined(__GLIBC__) || defined(__midipix__)) && !defined(__UCLIBC__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
# if !defined(__GLIBC__) || (__GLIBC__ < 2)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dc56e8 |
extern char *program_invocation_name, *program_invocation_short_name;
|