Initial commit

This commit is contained in:
drof
2026-11-05 02:19:09 +01:00
commit 13f8503697
125 changed files with 17029 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#include <include.h>
extern "C"
{
LONG first_call = FALSE;
void entry_point()
{
//
// Due to the design of our mapper, this part of the code
// Can be called several times instead of just once.
//
// It's our job to ensure we only ever execute this once.
// Because initializing, as the name suggests, only needs to be done one time.
//
if (InterlockedCompareExchange(&first_call, TRUE, 0))
return;
log_info_("received initialization request.");
r5::initialize();
}
}