Interfaces

void BSPLib::Classic::Get( uint32_t pid, const void *src, ptrdiff_t offset,
                           void *dst, size_t nbytes )                       // (1) Classic
void bsp_get( uint32_t pid, const void *src, ptrdiff_t offset, void *dst,   
              size_t nbytes )                                               // (2) Legacy

This operation get the registered memory of another processor and copies the memory into its own memory. It gets a buffer of size nbytes from source pointer src that is located in the processor with identifier pid at offset offset bytes from source pointer src and stores it at the location of dst.

  1. Classic BSP function, this is the interface one should prefer to use over the old BSP interface.
  2. Legacy BSP function, this interface is included for backwards compatibility with other BSP libraries.

Tip

There are easier functions to work with. See for Containers, Primitives and Pointers.

Parameters

Pre-Conditions

Post-Conditions

Examples

(1) Classic

(2) Legacy