02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2<br />

<strong>BSP</strong> Organization<br />

SM_MEM_SIZE<br />

The size of the shared memory pool.<br />

SM_INT_TYPE<br />

The method of communication with other CPU boards on the backplane.<br />

Define SM_INT_TYPE to equal one of the macros listed in Table 2-1.<br />

2<br />

Table 2-1<br />

Shared Memory Interrupt Types<br />

SM_INT_TYPE SM_INT_ARG1 SM_INT_ARG2 SM_INT_ARG3 Meaning<br />

SM_INT_NONE - - - Polling<br />

SM_INT_BUS level vector - Bus interrupt<br />

SM_INT_MAILBOX_1 address space address value 1-byte write<br />

mailbox<br />

SM_INT_MAILBOX_2 address space address value 2-byte write<br />

mailbox<br />

SM_INT_MAILBOX_4 address space address value 4-byte write<br />

mailbox<br />

SM_INT_MAILBOX_R1 address space address - 1-byte read<br />

mailbox<br />

SM_INT_MAILBOX_R2 address space address - 2-byte read<br />

mailbox<br />

SM_INT_MAILBOX_R4 address space address - 4-byte read<br />

mailbox<br />

For information on changes made to the shared memory subsystem for Tornado<br />

2.2, see the Tornado Migration <strong>Guide</strong>.<br />

RAM Addresses and Size.<br />

LOCAL_MEM_LOCAL_ADRS<br />

The start of the on-board memory area.<br />

LOCAL_MEM_SIZE<br />

The fixed (static) memory size.<br />

19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!