* @brief create native image for specific dll with file path.
* @param[i] dllPath file path to generate native image
* @param[i] enableR2R enable ready-to-run mode
+ * @param[i] doGenUniqueBaseSystem flag whether to generate unique default base address
* @return ni_error_e
*/
ni_error_e createNiDll(const std::string& dllPath, bool enableR2R, bool doGenUniqueBaseSystem);
* @param[i] rootPaths directories whicn contains DLLs
* @param[i] count number of rootPath
* @param[i] enableR2R enable ready-to-run mode
+ * @param[i] doGenUniqueBaseSystem flag whether to generate unique default base address
* @param[i] isAppNI if you want to create ni files under nativeImage directory, set it true
*/
void createNiUnderDirs(const std::string rootPaths[], int count, bool enableR2R, bool doGenUniqueBaseSystem, bool isAppNI = false);
std::string originPath = bf::read_symlink(symPath).string();
std::string originNiPath = originPath.substr(0, originPath.rfind(".dll")) + ".ni.dll";
if (!bf::exists(originNiPath)) {
- if(createNiDll(originPath, false) != NI_ERROR_NONE) {
+ if(createNiDll(originPath, false, false) != NI_ERROR_NONE) {
_ERR("Failed to create NI file [%s]\n", originPath.c_str());
return -1;
}
#ifdef UNIQUE_DEFAULT_BASE_ADDR_SUPPORT
#define SYSTEM_BASE_FILE "/usr/share/dotnet.tizen/system.base.addr.txt"
-#define DEFAULT_BASE_ADDR_START 0x1000000
+#define DEFAULT_BASE_ADDR_START 0x3000000
#endif
#define __XSTR(x) #x