hocclk: reduce memory usage for real this time
This commit is contained in:
@@ -82,9 +82,6 @@ namespace fileUtils {
|
||||
FILE* file = fopen(FILE_LOG_FILE_PATH, "a");
|
||||
|
||||
if (file) {
|
||||
struct timespec now;
|
||||
clock_gettime(CLOCK_REALTIME, &now);
|
||||
|
||||
fprintf(file, "[%lu] ", armGetSystemTick());
|
||||
vfprintf(file, format, args);
|
||||
fprintf(file, "\n");
|
||||
|
||||
@@ -55,20 +55,20 @@ extern "C"
|
||||
NvServiceType __nx_nv_service_type = NvServiceType_Factory;
|
||||
|
||||
// Ty to MasaGratoR for this!
|
||||
//This is done to save some space as they have no practical use in our case
|
||||
void* __real___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *));
|
||||
void* __real__Unwind_Resume();
|
||||
void* __real___gxx_personality_v0();
|
||||
// This is done to save some space as they have no practical use in our case
|
||||
__attribute__((used)) void* __real___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *));
|
||||
__attribute__((used)) void* __real__Unwind_Resume();
|
||||
__attribute__((used)) void* __real___gxx_personality_v0();
|
||||
|
||||
void __wrap___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *)) {
|
||||
__attribute__((used)) void __wrap___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *)) {
|
||||
abort();
|
||||
}
|
||||
|
||||
void __wrap__Unwind_Resume() {
|
||||
__attribute__((used)) void __wrap__Unwind_Resume() {
|
||||
return;
|
||||
}
|
||||
|
||||
void __wrap___gxx_personality_v0() {
|
||||
__attribute__((used)) void __wrap___gxx_personality_v0() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user