mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
FIO: Add sim_byte_swap_data routine to byte swap
This is an unconditional swap which may not be dependent on the particular endian orientation of the simulated or host system.
This commit is contained in:
@@ -88,6 +88,7 @@ typedef void (*DIR_ENTRY_CALLBACK)(const char *directory,
|
||||
t_stat sim_dir_scan (const char *cptr, DIR_ENTRY_CALLBACK entry, void *context);
|
||||
|
||||
void sim_buf_swap_data (void *bptr, size_t size, size_t count);
|
||||
void sim_byte_swap_data (void *bptr, size_t size, size_t count);
|
||||
void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count);
|
||||
const char *sim_get_os_error_text (int error);
|
||||
typedef struct SHMEM SHMEM;
|
||||
|
||||
Reference in New Issue
Block a user