Commit graph

33 commits

Author SHA1 Message Date
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
Matias N. Goldberg
5deac9f1ab Add FAQ and link to example project 2024-04-06 01:13:48 +01:00
Matias N. Goldberg
02428431af Improve documentation with important information
This avoids common mistakes
2024-04-06 01:13:48 +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
a5dfbe8b4f Add shared library install target supporting pkgconfig 2023-06-30 18:04:00 +01:00
Robin Kertels
f4ce3c9618 Update submodule 2023-06-10 17:59:35 +01:00
Robin Kertels
48d76e5828 Update submodule
To fix issues on older Android versions.
It won't work on those versions but it also shouldn't break them.
2023-06-09 20:41:47 +01:00
Robin Kertels
79087e7f08 Don't link Vulkan 2023-05-31 20:56:30 +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
b721d83895 Add compiler argument shim 2023-04-01 22:08:49 +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
d3b42cc5c0 Correct default mapper version for ADPKG instructions 2022-07-14 12:58:09 +01:00
Billy Laws
cc96fcaf15 Cleanup 2022-07-13 20:55:32 +01:00
Billy Laws
9c7d8401b8 Add ADPKG format description 2022-07-13 20:54:22 +01:00
Billy Laws
d645cca164 Update linkernsbypass 2022-03-22 19:51:21 +00:00
Billy Laws
a34a931be2 Add error logs when custom driver fails to load 2022-02-28 19:44:42 +00:00
Billy Laws
1581c73e58 Update linkernsbypass 2022-02-28 19:38:09 +00:00
Billy Laws
e08b1d013f Only fallback to shim if necessary 2022-02-19 20:46:52 +00:00
Billy Laws
17465c2707 Avoid spamming error logs 2022-02-14 14:58:39 +00:00
Billy Laws
9d047fb117 Stub functions not present on android Q 2022-02-14 14:43:32 +00:00
Billy Laws
db24bb4750 Make blob patcher respect android driver layout 2022-02-13 19:21:56 +00:00
Billy Laws
812ae09b9e Shim some additional functions, fixing graphics bugs 2022-02-13 19:21:56 +00:00
Billy Laws
9032460f55 Add tools 2022-02-10 21:56:47 +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