1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

smaller changes

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@49 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-06-05 09:35:25 +00:00
parent 207d904054
commit a4958df7b6
2 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,7 @@ nodes = {
acs = {
id = 1, # Device ID
type = "opal", # server, workstation, opal, rtds or dsp
local = "127.0.0.1:10201", # Local ip:port
local = "127.0.0.1:10201", # Local ip:port, use '*' for random port
remote = "127.0.0.1:10200"
},
sintef = {

View file

@ -95,6 +95,7 @@ void realtime_init(struct config *g)
/* Prefault stack */
char dummy[MAX_SAFE_STACK];
memset(dummy, 0, MAX_SAFE_STACK);
debug(3, "Prefaulted stack");
/* Lock memory */
if(mlockall(MCL_CURRENT | MCL_FUTURE))
@ -105,7 +106,7 @@ void realtime_init(struct config *g)
/* Check for realtime kernel patch */
struct stat st;
if (stat("/sys/kernel/realtime", &st))
warn("This is not a a realtime patched kernel");
warn("This is not a a realtime patched kernel!");
else
debug(3 ,"This is a realtime patched kernel");