Master process data are initialized to zero.

This commit is contained in:
Stefan Weiser 2010-05-05 12:59:17 +02:00
parent c2d9442c8d
commit 2620076ab9
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ int ecrt_master_activate(ec_master_t *master)
}
// Access the mapped region to cause the initial page fault
printf("pd: %x\n", master->process_data[0]);
memset(master->process_data, 0, master->process_data_size);
}
return 0;