about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-15 12:58:40 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-15 12:58:40 +0100
commit277f54230425f976ad169bcf0ccc7e434b1a680b (patch)
tree160ab860dfe284dd000b79ccda6c27b9acd8527c /src/include
parent517a5b68440cac900255736b1f4c2d85548f587c (diff)
downloadbox64-277f54230425f976ad169bcf0ccc7e434b1a680b.tar.gz
box64-277f54230425f976ad169bcf0ccc7e434b1a680b.zip
Better handling of rolling logs
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h5
-rwxr-xr-xsrc/include/x64run.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 1d7d8b58..682cdae8 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -189,6 +189,11 @@ extern box64context_t *my_context; // global context
 box64context_t *NewBox64Context(int argc);
 void FreeBox64Context(box64context_t** context);
 
+// Cycle log handling
+void freeCycleLog(box64context_t* ctx);
+void initCycleLog(box64context_t* context);
+void print_cycle_log(int loglevel);
+
 // return the index of the added header
 int AddElfHeader(box64context_t* ctx, elfheader_t* head);
 
diff --git a/src/include/x64run.h b/src/include/x64run.h
index c69290fd..78903bbc 100755
--- a/src/include/x64run.h
+++ b/src/include/x64run.h
@@ -10,6 +10,5 @@ uint32_t LibSyscall(x64emu_t *emu);
 void PltResolver(x64emu_t* emu);
 extern uintptr_t pltResolver;
 int GetTID();
-void print_cycle_log(int loglevel);
 
 #endif //__X64RUN_H_
\ No newline at end of file