-
Suman Anna authored
This patch incorporates a number of bug fixes from the Syslink 2.00.00.12 drop. The following is the summary of changes. 1. sharedregion: - sharedregion_remove() is corrected to remove the sharedregion entry from the desired processor table. 2. platform_mem: - fixed memory leaks. 3. nameserver_remotenotify: - an atomic_t variable is added to maintain reference counting and the state of the module. - nameserver_get_local searches directly copy the value into the sharedmemory request buffer. - additional error checking is added. 4. messageq: - Number of priority queues definition moved from messageq source code to messageq header file, and is now also used by the messageq_transportshm module. - messageqq_transportshm module state object also keeps track of the individual messageq_transportshm instances created. 5. listmp_sharedmemory: - listmp_sharedmemory_open return value can come from nameserver, and so is checked against only a negative value for failure - sharedregion value is added into the nameserver database rather than the absolute sharedaddr. - minor changes in variable names. 6. heapbuf: - additional checks were added for valid sharedregion ptrs. - heapbuf_open return value can come from nameserver, and so is checked against only a negative value for failure. - minor changes in variable names. 7. gatepeterson: - minor changes in gatepeterson module. This module is currently missing the gatespinlock for interrupt context protection. - additional checks were added for valid sharedregion ptrs. Signed-off-by: Suman Anna <s-anna@ti.com>
25ca34bd