increased dummy stubs to 512
This commit is contained in:
parent
27f6f6bfd6
commit
2c1d455942
|
@ -19,7 +19,7 @@ namespace Core::AeroLib {
|
||||||
// and to longer compile / CI times
|
// and to longer compile / CI times
|
||||||
//
|
//
|
||||||
// Must match STUBS_LIST define
|
// Must match STUBS_LIST define
|
||||||
constexpr u32 MAX_STUBS = 128;
|
constexpr u32 MAX_STUBS = 512;
|
||||||
|
|
||||||
u64 UnresolvedStub() {
|
u64 UnresolvedStub() {
|
||||||
LOG_ERROR("Unresolved Stub: called, returning zero to {}\n", __builtin_return_address(0));
|
LOG_ERROR("Unresolved Stub: called, returning zero to {}\n", __builtin_return_address(0));
|
||||||
|
@ -62,7 +62,7 @@ static u32 UsedStubEntries;
|
||||||
#define XREP_256(x) XREP_128(x) XREP_128(x + 128)
|
#define XREP_256(x) XREP_128(x) XREP_128(x + 128)
|
||||||
#define XREP_512(x) XREP_256(x) XREP_256(x + 256)
|
#define XREP_512(x) XREP_256(x) XREP_256(x + 256)
|
||||||
|
|
||||||
#define STUBS_LIST XREP_128(0)
|
#define STUBS_LIST XREP_512(0)
|
||||||
|
|
||||||
static u64 (*stub_handlers[MAX_STUBS])() = {STUBS_LIST};
|
static u64 (*stub_handlers[MAX_STUBS])() = {STUBS_LIST};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue