#include <stdlib.h>
#include <stdio.h>
#include <internal/imoc.h>
#include <internal/ppu/imoc_core_ppu.h>

Go to the source code of this file.
Functions | |
| moc_internal_buffer_node_t * | __attribute__ ((always_inline)) |
| void bmalloc_print_nodes() { if (!bmalloc_first_node) printf("No nodes in list\n"); else { int z = 0; moc_internal_buffer_node_t* t; for (t = bmalloc_first_node; t != 0; t = t->next_node) { printf( "Node %i: offset %u - size %u - valid %i - mid %u\n", z, node_handle.status_array_base[ t->mid ].buffer_offset, node_handle.status_array_base[ t->mid ].message_size, node_handle.status_array_base[ t->mid ].flags.bits.buffer_used, t->mid ); z++; } } } | |
| uint64_t | IMOC_bmalloc (uint32_t size, uint8_t mid) |
| Allocate buffer-space. | |
Variables | |
| moc_internal_buffer_node_t * | bmalloc_first_node = 0 |
| Pointer to first entry of linked-list. | |
1.5.6