Many benchmarks signal their termination by writing an EOT character to the UART. This change adds an option to the Arm `baremetal.py` example script to exit the simulation when an EOT character is detected on any of the UARTs. Change-Id: Ibfce9800c47090714258dbdbc5d6cee5ee6fb952 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69688 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>