1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

SCP: Add support for library unit test routines

This commit is contained in:
Mark Pizzolato
2018-08-26 18:15:30 -07:00
parent 8ac1845b30
commit 0daa80e03d
10 changed files with 149 additions and 106 deletions

View File

@@ -968,6 +968,8 @@ void eth_show_dev (FILE* st, ETH_DEV* dev)
{}
static int _eth_get_system_id (char *buf, size_t buf_size)
{memset (buf, 0, buf_size); return 0;}
t_stat sim_ether_test (DEVICE *dptr)
{return SCPE_OK;}
#else /* endif unimplemented */
const char *eth_capabilities(void)
@@ -4018,4 +4020,9 @@ if (dev->eth_api == ETH_API_NAT)
sim_slirp_show ((SLIRP *)dev->handle, st);
#endif
}
t_stat sim_ether_test (DEVICE *dptr)
{
return SCPE_OK;
}
#endif /* USE_NETWORK */