2020-05-17 20:40:05 +02:00
|
|
|
#pragma once
|
|
|
|
|
2020-12-26 14:17:50 +01:00
|
|
|
#include <wums.h>
|
|
|
|
|
|
|
|
#include "plugin/PluginContainer.h"
|
|
|
|
#include "common/plugin_defines.h"
|
2020-05-17 20:40:05 +02:00
|
|
|
|
|
|
|
extern plugin_information_t *gPluginInformation;
|
2021-04-01 00:37:22 +02:00
|
|
|
extern MEMHeapHandle gPluginDataHeap;
|
|
|
|
extern MEMHeapHandle gPluginInformationHeap;
|
2021-01-10 13:17:47 +01:00
|
|
|
extern uint32_t gPluginDataHeapSize;
|
2021-04-01 00:37:22 +02:00
|
|
|
extern uint32_t gPluginInformationHeapSize;
|
2020-12-26 13:27:50 +01:00
|
|
|
extern plugin_information_on_reload_t gLinkOnReload;
|
2021-04-01 00:37:22 +02:00
|
|
|
extern module_information_t *gModuleData;
|
|
|
|
extern relocation_trampolin_entry_t *gTrampolineData;
|
|
|
|
extern uint32_t gTrampolineDataSize;
|
|
|
|
|
|
|
|
#define PLUGIN_DATA_HEAP_SIZE (8 * 1024 * 1024)
|
|
|
|
#define NUMBER_OF_TRAMPS 1024
|