summaryrefslogtreecommitdiff
path: root/core/salis.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/salis.h')
-rw-r--r--core/salis.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/salis.h b/core/salis.h
index e61752b..27adab1 100644
--- a/core/salis.h
+++ b/core/salis.h
@@ -16,8 +16,10 @@
// ----------------------------------------------------------------------------
// [section] macros
// ----------------------------------------------------------------------------
-#define SALIS_UINT64_HALF 0x8000000000000000ul
#define SALIS_EVENT_ARRAY_SIZE_COL_MARKER "_evasize_"
+#define SALIS_IPCM_FLAG 0x80
+#define SALIS_MALL_FLAG 0x80
+#define SALIS_UINT64_HALF 0x8000000000000000ul
// ----------------------------------------------------------------------------
// [section] structs
@@ -83,6 +85,7 @@ struct Core {
// ----------------------------------------------------------------------------
extern struct Core g_cores[CORES];
extern uint64_t g_step;
+extern uint64_t g_sync;
// ----------------------------------------------------------------------------
// [section] memory vector declarations
@@ -95,7 +98,6 @@ bool mvec_is_alloc(const struct Core *core, uint64_t addr);
void mvec_alloc(struct Core *core, uint64_t addr);
void mvec_free(struct Core *core, uint64_t addr);
-uint8_t mvec_get_byte(const struct Core *core, uint64_t addr);
uint8_t mvec_get_inst(const struct Core *core, uint64_t addr);
void mvec_set_inst(struct Core *core, uint64_t addr, uint8_t inst);
@@ -142,6 +144,7 @@ void salis_load(void);
void salis_start(void);
void salis_join(void);
+void salis_wait(void);
void salis_signal_stop(void);
void salis_step(uint64_t steps);
void salis_free(void);