#include <stdint.h>
#include "../moc.h"
#include "imoc_core.h"


Go to the source code of this file.
Data Structures | |
| struct | error_strings_struct |
| Error-Strings structure. More... | |
| struct | moc_internal_buffer_node_struct |
| Node of linked list holding information about allocated buffer-space. More... | |
Defines | |
Constants for MOC_Request.request_type | |
| #define | MOC_REQ_TYPE_DMA 0 |
| MOC_Request is associated with a DMA-Communication. | |
| #define | MOC_REQ_TYPE_ISSEND 1 |
| MOC_Request is associated with aISsend-Communication. | |
Internal constants | |
| #define | MEMCPY_GET_TRESHOLD 156 |
| Defines a treshold, when to use memcpy and when to use DMA in a get-operation on the PPU. | |
| #define | MEMCPY_PUT_TRESHOLD 2210 |
| Defines a treshold, when to use memcpy and when to use DMA in a put-operation on the PPU. | |
Typedefs | |
| typedef struct error_strings_struct | error_strings_t |
| Error-Strings structure. | |
| typedef struct moc_internal_buffer_node_struct | moc_internal_buffer_node_t |
| Node of linked list holding information about allocated buffer-space. | |
Functions | |
| uint64_t | IMOC_bmalloc (uint32_t size, uint8_t mid) |
| Allocate buffer-space. | |
Internal shared functions | |
| moc_message_envelope_t * | IMOC_get_entry (int source, int tag, MOC_Comm comm, int isSpecial, MOC_Status *status) |
| Get the next valid message-envelope from "source" with specified "tag" and "comm". | |
| int | IMOC_getFreeEntry (moc_message_envelope_t *pqueue, uint8_t tag, MOC_Comm comm, int isSpecial, int *index) |
| Get next free entry in message-queue (a local copy of the message-queue has to be used). | |
| int | IMOC_getFreeMID (int *mid) |
| Get free message-ID. | |
| int | IMOC_waitForMessageCompletion (uint8_t mid) |
| Wait till message with message-ID mid has been received. | |
| int | IMOC_testForMessageCompletion (uint8_t mid, uint8_t *status) |
| Tests if message with message-ID mid has been received. | |
1.5.6