From b5a858938af0a7b13a47561e400645b71aca7879 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 21 Apr 2022 10:15:12 +0800 Subject: [PATCH] emulation: add separate TAP and Linux implementations Add one script that starts up a TAP connection as well as a second one that uses a native Linux machine. Signed-off-by: Sean Cross --- emulation/xous-release-tap.resc | 13 +++++++++++++ emulation/xous-release.resc | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 emulation/xous-release-tap.resc create mode 100644 emulation/xous-release.resc diff --git a/emulation/xous-release-tap.resc b/emulation/xous-release-tap.resc new file mode 100644 index 000000000..cc8c9123f --- /dev/null +++ b/emulation/xous-release-tap.resc @@ -0,0 +1,13 @@ +i @emulation/betrusted.resc + +# Create network +emulation CreateSwitch "switch" +emulation CreateTap "renodetap" "tap" +connector Connect host.tap switch + +# Connect EC to the switch +mach set "EC" +connector Connect sysbus.wifi.wf200 switch +mach clear + +start \ No newline at end of file diff --git a/emulation/xous-release.resc b/emulation/xous-release.resc new file mode 100644 index 000000000..86cfcb596 --- /dev/null +++ b/emulation/xous-release.resc @@ -0,0 +1,4 @@ +i @emulation/betrusted.resc +i @emulation/linux-server.resc + +start \ No newline at end of file