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");
|
FILE* file = fopen(FILE_LOG_FILE_PATH, "a");
|
||||||
|
|
||||||
if (file) {
|
if (file) {
|
||||||
struct timespec now;
|
|
||||||
clock_gettime(CLOCK_REALTIME, &now);
|
|
||||||
|
|
||||||
fprintf(file, "[%lu] ", armGetSystemTick());
|
fprintf(file, "[%lu] ", armGetSystemTick());
|
||||||
vfprintf(file, format, args);
|
vfprintf(file, format, args);
|
||||||
fprintf(file, "\n");
|
fprintf(file, "\n");
|
||||||
|
|||||||
@@ -55,20 +55,20 @@ extern "C"
|
|||||||
NvServiceType __nx_nv_service_type = NvServiceType_Factory;
|
NvServiceType __nx_nv_service_type = NvServiceType_Factory;
|
||||||
|
|
||||||
// Ty to MasaGratoR for this!
|
// Ty to MasaGratoR for this!
|
||||||
//This is done to save some space as they have no practical use in our case
|
// 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 *));
|
__attribute__((used)) void* __real___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *));
|
||||||
void* __real__Unwind_Resume();
|
__attribute__((used)) void* __real__Unwind_Resume();
|
||||||
void* __real___gxx_personality_v0();
|
__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();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
void __wrap__Unwind_Resume() {
|
__attribute__((used)) void __wrap__Unwind_Resume() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __wrap___gxx_personality_v0() {
|
__attribute__((used)) void __wrap___gxx_personality_v0() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user