27#define BUFFER_WORDS (MINUS_POINT / BYTE_TO_WORD)
29#define MIN_SIZE_HEAP 32
55static inline void terminate(
uint result_code) __attribute__((noreturn));
60 sark_virtual_processor_info[core].
user1 = result_code;
73 log_info(
"freeing 0x%08x from DTCM", ptr);
78 log_info(
"freeing 0x%08x from SDRAM", ptr);
90 log_error(
"Failed to malloc %u bytes.\n", bytes);
93 log_info(
"Allocated %u bytes from SDRAM at 0x%08x", bytes, p);
109 }
else if (to_print) {
110 log_info(
"Allocated %u bytes from DTCM at 0x%08x", bytes, p);
Data type definitions for SpiNNaker Neuron-modelling.
SpiNNaker debug header file.
void log_error(const char *message,...)
This function logs errors. Errors usually indicate a serious fault in the program,...
void log_info(const char *message,...)
This function logs informational messages. This is the lowest level of message normally printed.
void * sark_alloc(uint count, uint size)
void * sark_xalloc(heap_t *heap, uint size, uint tag, uint flag)
void rt_error(uint code,...)
void sark_xfree(heap_t *heap, void *ptr, uint flag)
void spin1_exit(uint error)
uint spin1_get_core_id(void)