Meta: Disable network hardware in run.py for RISC-V

The e1000 driver tries to use interrupt handling functions, which
aren't implemented on RISC-V yet.
This commit is contained in:
Sönke Holz 2024-02-25 20:34:07 +01:00 committed by Andrew Kaster
parent 564e619f57
commit 0dca6990b3

View file

@ -675,7 +675,7 @@ def set_up_network_hardware(config: Configuration):
if provided_ethernet_device_type is not None:
config.ethernet_device_type = provided_ethernet_device_type
if config.architecture == Arch.Aarch64:
if config.architecture in [Arch.Aarch64, Arch.RISCV64]:
config.network_backend = None
config.network_default_device = None
else: