DSPRelated.com
Forums

Multiprocessor shared memory LDF questions

Started by Waldron, Donald M N-BAE Systems April 5, 2001
Referencing the following LDF file:

1. When linking (from VisualDSP) how do I specify the PROCESSOR (i.e. p1 vs.
p2)?

2. How do I grant visibility to the other DSP's .dxe file? Do the .dxe's
need to be in the same directory? Or do I make the directory visible via
the Link "Search Directories"?

Regards,
Don Waldron MPMEMORY
{
p1 {START(0x00100000)}
p2 {START(0x00200000)}
}

PROCESSOR p1
{
LINK_AGAINST(P2.dxe)
OUTPUT(P1.dxe)
SECTIONS {INCLUDE("pe1_sections.h")}
}

PROCESSOR p2
{
LINK AGAINST(P1.dxe)
OUTPUT(P2.dxe)
SECTIONS {INCLUDE("pe2_sections.h")}
}
In SHARC1, one can then define a variable within, for example, segment
seg_dmda segment("segdmda") int iBuffer[100];

In SHARC2, one would declare this buffer as an extern:

extern int iBuffer[]; etc.

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/
------------------
Donald M. Waldron
BAE Systems
Information & Electronic Warfare Systems
P.O. Box 868 NHQ03-2145
Nashua, NH 03061-0868
Tel (603) 885-2461

------------------