25#ifndef _DATA_SPECIFICATION_H_
26#define _DATA_SPECIFICATION_H_
83 return ds_regions->
regions[region].pointer;
Data type definitions for SpiNNaker Neuron-modelling.
data_specification_metadata_t * data_specification_get_data_address(void)
Gets the location of the data for this core using the user0 entry of the SARK VCPU structure.
uint32_t n_words
The number of valid words in the region.
region_desc_t regions[]
The regions; as many as required.
uint32_t checksum
Simple checksum which is rounded 32-bit unsigned sum of words.
uint32_t magic_number
A magic number, used to verify that the pointer is sane.
uint32_t version
The version of the DSE data layout specification being followed.
bool data_specification_read_header(data_specification_metadata_t *ds_regions)
Reads the header from the address given and checks if the parameters are of the correct values.
static void * data_specification_get_region(uint32_t region, data_specification_metadata_t *ds_regions)
Gets the address of a region.