16 Commits

Author SHA1 Message Date
MrPurple666
8ba23b42d7 initial adrenotools env loader 2025-12-25 21:24:57 -03:00
Reg Tiangha
c9d613fe3d bcenabler.cpp: Replace PAGE_SIZE with getpagesize()
Android 15 will allow OEMs to ship arm64-v8a devices with 16KiB page sizes. Devices that use this configuration will not be able to run existing apps that use native code. To be compatible with these devices, applications will need to rebuild all their native code to be 16KiB aligned, and rewrite any code which assumes a specific page size.

This change should allow for page size to be calculated dynamically to support these new devices.
2024-09-10 09:16:22 +01:00
Billy Laws
deec5f75ee Inverse priority when loading gsl library
Most custom drivers ship with notgsl or vkbgsl, which should be loaded instead of the system gsl to prevent conflicts.
2023-06-30 18:04:51 +01:00
Billy Laws
c4bc94c03e Introduce new API for placed memory allocations
Useful for WOW64, where allocations need to be done in the lower 32-bits
of the AS.
2023-06-30 18:04:16 +01:00
Billy Laws
5cd3f5c5ce Support new 64-bit GSL memory allocation functions 2023-05-15 20:48:01 +01:00
Billy Laws
089572cf1d Rework memory import API 2023-05-06 14:42:58 +01:00
Billy Laws
19d1998c5a Ensure that memory import arguments are a superset of those requested
Fixes 8G2, where some extra top bits are set but we don't request.
2023-03-05 22:55:36 +00:00
Billy Laws
a6c0947df6 Add function to enable KGSL turbo mode 2022-12-27 20:10:25 +00:00
Billy Laws
4ec3ae3dab Add a GSL hook that allows for importing host-mapped memory onto the GPU 2022-12-27 20:10:25 +00:00
Billy Laws
0e4dccf696 Remove file redir hook remenants 2022-12-27 20:10:25 +00:00
Billy Laws
a34a931be2 Add error logs when custom driver fails to load 2022-02-28 19:44:42 +00:00
Billy Laws
4820e60412 Rework BCeNabler memory permissions for ---X 2022-01-13 18:22:47 +00:00
Billy Laws
526ed96751 Remove left over debug messages 2022-01-11 18:27:48 +00:00
Billy Laws
97970e43e0 Add additional driver validation for BCeNabler 2022-01-11 18:25:39 +00:00
Billy Laws
bec42142cf Rework hooking to avoid polluting global namespace with too many symbols 2021-12-18 22:50:02 +00:00
Billy Laws
332425ac2e Initial commit 2021-12-14 18:39:59 +00:00