Changeset 916
- Timestamp:
- Jan 6, 2015, 11:07:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/top.cpp
r906 r916 96 96 // - L1_DSETS 97 97 // - BDEV_IMAGE_NAME : file pathname for block device 98 // - NIC_RX_NAME : file pathname for NIC received packets99 // - NIC_TX_NAME : file pathname for NIC transmited packets100 98 // - NIC_TIMEOUT : max number of cycles before closing a container 101 99 // … … 207 205 #define BDEV_IMAGE_NAME "../../../giet_vm/hdd/virt_hdd.dmg" 208 206 209 #define NIC_RX_NAME "/dev/null"210 #define NIC_TX_NAME "/dev/null"211 207 #define NIC_TIMEOUT 10000 212 208 … … 324 320 size_t ncycles = UINT_MAX; // simulated cycles 325 321 char disk_name[256] = BDEV_IMAGE_NAME; // pathname: disk image 326 char nic_rx_name[256] = NIC_RX_NAME; // pathname: rx packets file327 char nic_tx_name[256] = NIC_TX_NAME; // pathname: tx packets file328 322 ssize_t threads_nr = 1; // simulator's threads number 329 323 size_t faulty_mask = 0x1F; // interface mask for the faulty router … … 967 961 maptab_iox, 968 962 NB_NIC_CHANNELS, 969 0, // mac_4 address 970 0, // mac_2 address 971 nic_rx_name, 972 nic_tx_name); 963 0, // mac_4 address 964 0, // mac_2 address 965 1 ); // NIC_MODE_SYNTHESIS 973 966 974 967 // Frame Buffer
Note: See TracChangeset
for help on using the changeset viewer.