1
0
mirror of https://github.com/simh/simh.git synced 2026-04-15 16:11:13 +00:00

SCP: Add atomic routines for temporary shmem access

This commit is contained in:
Mark Pizzolato
2018-06-01 23:16:14 -07:00
parent 0e5c60b58f
commit c1f249ec66
2 changed files with 22 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ const char *sim_get_os_error_text (int error);
typedef struct SHMEM SHMEM;
t_stat sim_shmem_open (const char *name, size_t size, SHMEM **shmem, void **addr);
void sim_shmem_close (SHMEM *shmem);
int32 sim_shmem_atomic_add (int32 *ptr, int32 val);
t_bool sim_shmem_atomic_cas (int32 *ptr, int32 oldv, int32 newv);
extern t_bool sim_taddr_64; /* t_addr is > 32b and Large File Support available */
extern t_bool sim_toffset_64; /* Large File (>2GB) file I/O support */