Hi all,

[...]
To tell the linker to instanciate it at the target address, I using a new
section to instanciate it:

 struct shared_def shared_struct __attribute__ ((section("shared_ram")));


Hi Antoine,

if I understand it right, the bFLT binaries (see: http://www.beyondlogic.org/uClinux/bflt.htm) cannot contain other sections than .text and .data (and .bss, though this is not actually there either). There is nowhere to write settings for your 'shared_ram' section in the binary, so the linker returns error.

Wouldn't something like this suffice?

struct shared_struct volatile * my_shared_memory = (struct shared_struct volatile *) 0x88000000;

On the contrary, I wouldn't worry much about the structure layout. More than thoroughfuly testing its equality for both CPUs, of course.

---
Jan Ringoš, www.ringos.cz
software architect, programmer
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to