mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
properly initialize other applications apart from villas-node
This commit is contained in:
parent
b37d3df332
commit
d1d4369267
2 changed files with 10 additions and 0 deletions
|
@ -87,6 +87,9 @@ int main(int argc, char *argv[])
|
|||
|
||||
info("Initialize real-time system");
|
||||
rt_init(settings.affinity, settings.priority);
|
||||
|
||||
info("Initialize memory system");
|
||||
memory_init();
|
||||
|
||||
/* Initialize VILLASfpga card */
|
||||
config_setting_t *cfg_root = config_root_setting(&config);
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <villas/utils.h>
|
||||
#include <villas/pool.h>
|
||||
#include <villas/log.h>
|
||||
#include <villas/kernel/rt.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
@ -86,6 +87,12 @@ int main(int argc, char *argv[])
|
|||
|
||||
info("Initialize logging system");
|
||||
log_init(level, -1, NULL);
|
||||
|
||||
info("Initialize real-time system");
|
||||
rt_init(-1, 50);
|
||||
|
||||
info("Initialize memory system");
|
||||
memory_init();
|
||||
|
||||
ret = pool_init(&pool, 10 * cnt, SAMPLE_LEN(DEFAULT_VALUES), &memtype_hugepage);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue