diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-26 13:29:35 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-26 13:29:35 +0200 |
| commit | d45001e4c92507caca0ede929983bf18313a0f30 (patch) | |
| tree | 3cd9d8ad46497271ecfd7a6c7036b83f19f63ab4 /src | |
| parent | 95a0e669a268919a3d610e75bad4634874d53e9c (diff) | |
| download | box64-d45001e4c92507caca0ede929983bf18313a0f30.tar.gz box64-d45001e4c92507caca0ede929983bf18313a0f30.zip | |
[BOX32][WRAPPER] Added 32bits empty wrapped libXxf86vm
Diffstat (limited to 'src')
| -rw-r--r-- | src/library_list_32.h | 1 | ||||
| -rw-r--r-- | src/wrapped32/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedlibxxf86vmdefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedlibxxf86vmtypes32.h | 17 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedlibxxf86vmundefs32.h | 8 | ||||
| -rw-r--r-- | src/wrapped32/wrappedlibxxf86vm.c | 34 | ||||
| -rw-r--r-- | src/wrapped32/wrappedlibxxf86vm_private.h | 26 |
7 files changed, 95 insertions, 0 deletions
diff --git a/src/library_list_32.h b/src/library_list_32.h index 96b33f3b..32b03c95 100644 --- a/src/library_list_32.h +++ b/src/library_list_32.h @@ -23,6 +23,7 @@ GO("libXrender.so.1", libxrender) GO("libXcursor.so.1", libxcursor) GO("libXrandr.so.2", libxrandr) GO("libxrandr.so.2", libxrandr) +GO("libXxf86vm.so.1", libxxf86vm) GO("libopenal.so.1", openal) GO("libopenal.so.0", openal) diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt index a87df0f7..1c39424b 100644 --- a/src/wrapped32/generated/functions_list.txt +++ b/src/wrapped32/generated/functions_list.txt @@ -1496,6 +1496,7 @@ wrappedlibxrandr: - iFXpLLiiLWpi: - XRRSetCrtcConfig wrappedlibxrender: +wrappedlibxxf86vm: wrappedopenal: - vFv: - alRequestFoldbackStop diff --git a/src/wrapped32/generated/wrappedlibxxf86vmdefs32.h b/src/wrapped32/generated/wrappedlibxxf86vmdefs32.h new file mode 100644 index 00000000..46833c92 --- /dev/null +++ b/src/wrapped32/generated/wrappedlibxxf86vmdefs32.h @@ -0,0 +1,8 @@ +/****************************************************************** + * File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * + ******************************************************************/ +#ifndef __wrappedlibxxf86vmDEFS32_H_ +#define __wrappedlibxxf86vmDEFS32_H_ + + +#endif // __wrappedlibxxf86vmDEFS32_H_ diff --git a/src/wrapped32/generated/wrappedlibxxf86vmtypes32.h b/src/wrapped32/generated/wrappedlibxxf86vmtypes32.h new file mode 100644 index 00000000..54f3dd5c --- /dev/null +++ b/src/wrapped32/generated/wrappedlibxxf86vmtypes32.h @@ -0,0 +1,17 @@ +/****************************************************************** + * File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * + ******************************************************************/ +#ifndef __wrappedlibxxf86vmTYPES32_H_ +#define __wrappedlibxxf86vmTYPES32_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappedlibxxf86vmTYPES32_H_ diff --git a/src/wrapped32/generated/wrappedlibxxf86vmundefs32.h b/src/wrapped32/generated/wrappedlibxxf86vmundefs32.h new file mode 100644 index 00000000..1e59efa1 --- /dev/null +++ b/src/wrapped32/generated/wrappedlibxxf86vmundefs32.h @@ -0,0 +1,8 @@ +/****************************************************************** + * File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * + ******************************************************************/ +#ifndef __wrappedlibxxf86vmUNDEFS32_H_ +#define __wrappedlibxxf86vmUNDEFS32_H_ + + +#endif // __wrappedlibxxf86vmUNDEFS32_H_ diff --git a/src/wrapped32/wrappedlibxxf86vm.c b/src/wrapped32/wrappedlibxxf86vm.c new file mode 100644 index 00000000..d204399b --- /dev/null +++ b/src/wrapped32/wrappedlibxxf86vm.c @@ -0,0 +1,34 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper32.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "emu/x64emu_private.h" +#include "callback.h" +#include "librarian.h" +#include "box32context.h" +#include "emu/x64emu_private.h" + +#ifdef ANDROID + static const char* libxxf86vmName = "libXxf86vm.so"; +#else + static const char* libxxf86vmName = "libXxf86vm.so.1"; +#endif + +#define LIBNAME libxxf86vm +#if 0 +#ifdef ANDROID +#define NEEDED_LIBS "libX11.so", "libXext.so" +#else +#define NEEDED_LIBS "libX11.so.6", "libXext.so.6" +#endif +#endif +#include "wrappedlib_init32.h" diff --git a/src/wrapped32/wrappedlibxxf86vm_private.h b/src/wrapped32/wrappedlibxxf86vm_private.h new file mode 100644 index 00000000..f7eb3419 --- /dev/null +++ b/src/wrapped32/wrappedlibxxf86vm_private.h @@ -0,0 +1,26 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh... +#endif + +//GO(XF86VidModeGetViewPort, iFpipp) +//GO(XF86VidModeValidateModeLine, iFpip) +//GO(XF86VidModeGetGamma, iFpip) +//GO(XF86VidModeSetGamma, iFpip) +//GO(XF86VidModeSetClientVersion, iFp) +//GO(XF86VidModeGetGammaRamp, iFpiippp) +//GO(XF86VidModeGetMonitor, iFpip) +//GO(XF86VidModeQueryVersion, iFppp) +//GO(XF86VidModeDeleteModeLine, iFpip) +//GO(XF86VidModeGetModeLine, iFpipp) +//GO(XF86VidModeGetAllModeLines, iFpipp) +//GO(XF86VidModeSetGammaRamp, iFpiippp) +//GO(XF86VidModeGetPermissions, iFpip) +//GO(XF86VidModeModModeLine, iFpip) +//GO(XF86VidModeSetViewPort, iFpiii) +//GO(XF86VidModeSwitchMode, iFpii) +//GO(XF86VidModeAddModeLine, iFpipp) +//GO(XF86VidModeSwitchToMode, iFpip) +//GO(XF86VidModeQueryExtension, iFppp) +//GO(XF86VidModeGetGammaRampSize, iFpip) +//GO(XF86VidModeGetDotClocks, iFpipppp) +//GO(XF86VidModeLockModeSwitch, iFpii) |