Interfaces

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

Puts a buffer of size nbytes from source pointer src in the thread with identifier pid at offset offset from destination pointer 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