blob: c0b7a66a57987f7b9561d589d965ad8d7d9fbf3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#if !defined(_CENTAUR_STRUCTS_H)
#define _CENTAUR_STRUCTS_H
#include "stdint.h"
#include "gpe_export.h"
#include "centaur_configuration.h"
// IPC message payload for call to IPC_ST_CENTAUR_INIT_FUNCID
typedef struct
{
GpeErrorStruct error;
CentaurConfiguration_t * centaurConfiguration;
} CentaurConfigParms_t;
// IPC message payload for call to IPC_ST_CENTAUR_SCOM_FUNCID
typedef struct
{
GpeErrorStruct error;
/**
* Input: The SCOM list
* This is a pointer to an array of scomList_t objects
* describing the sequence of commands to execute.
*/
scomList_t* scomList;
/**
* Input: The number of entries in the scomList.
* @note It is considered an error if \a entries is 0, under the
* assumption that the caller must have neglected to initialize the
* structure.
*/
int entries;
} CentaurScomParms_t;
// IPC message payload for call to IPC_ST_CENTAUR_DATA_FUNCID
typedef struct
{
GpeErrorStruct error;
/**
* The index (0 .. PGP_NCENTAUR - 1) of the Centaur whose sensor cache
* data to collect, or -1 to bypass collection.
*/
int collect;
/**
* The index (0 .. PGP_NCENTAUR - 1) of the Centaur to "poke" to cause it
* to begin collecting the next round of data into its sensor cache, or
* -1 to bypass updating
*/
int update;
/**
* Pointer to data collected. Needs to be set if collect != -1
* otherwise it's not used.
*/
uint64_t * data;
} CentaurGetMemDataParms_t;
#endif
|