mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
remove test and set registers from MPB
This commit is contained in:
parent
a003ee223f
commit
c2ea9dd1a9
1 changed files with 2 additions and 3 deletions
|
@ -39,14 +39,13 @@
|
|||
#define RCCE_MAXNP 8
|
||||
|
||||
typedef struct tas {
|
||||
unsigned char reg;
|
||||
volatile unsigned char reg;
|
||||
unsigned char reserved[CACHE_LINE-1];
|
||||
} tas_t __attribute__ ((aligned (CACHE_LINE)));
|
||||
|
||||
typedef struct rcce_mpb {
|
||||
int id; // session id;
|
||||
tas_t tas[RCCE_MAXNP];
|
||||
size_t mpb[MAX_ISLE];
|
||||
volatile size_t mpb[MAX_ISLE];
|
||||
} rcce_mpb_t;
|
||||
|
||||
#define MAX_RCCE_SESSIONS ((PAGE_SIZE - CACHE_LINE*(RCCE_MAXNP+1)) / sizeof(rcce_mpb_t))
|
||||
|
|
Loading…
Add table
Reference in a new issue