Kernel and buildscript improvements (#477)
* **New Features** * Centralized module management with global symbol resolution * Level-aware logging with colored prefixes and millisecond timestamps * **Breaking Changes** * ModuleParent hierarchy and getModuleParent() removed * Logging API and adapter model replaced; LogLevel-driven log_generic signature changed * **Improvements** * Unified, simplified module registration across build targets * Tests updated to reflect new module lifecycle and global symbol resolution
This commit is contained in:
committed by
GitHub
parent
1a61eac8e0
commit
a935410f82
@@ -51,7 +51,6 @@
|
||||
|
||||
#include <Tactility/Tactility.h>
|
||||
|
||||
bool module_parent_resolve_symbol(ModuleParent* pParent, const char* name, uintptr_t* pInt);
|
||||
extern "C" {
|
||||
|
||||
extern double __floatsidf(int x);
|
||||
@@ -375,9 +374,8 @@ uintptr_t tt_symbol_resolver(const char* symbolName) {
|
||||
}
|
||||
}
|
||||
|
||||
auto& module_parent = tt::getModuleParent();
|
||||
uintptr_t symbol_address;
|
||||
if (module_parent_resolve_symbol(&module_parent, symbolName, &symbol_address)) {
|
||||
if (module_resolve_symbol_global(symbolName, &symbol_address)) {
|
||||
return symbol_address;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user