updated linker script and added SharedMemory struct definition.