-# Copyright (c) 2018 ARM Limited
+# Copyright (c) 2018, 2019 ARM Limited
# All rights reserved.
#
# The license below extends only to copyright in the software and shall
from m5.params import *
from m5.SimObject import *
-from Serial import SerialDevice
-from Terminal import Terminal
+from m5.objects.Serial import SerialDevice
+from m5.objects.Terminal import Terminal
class ArmSemihosting(SimObject):
type = 'ArmSemihosting'
cxx_header = "arch/arm/semihosting.hh"
cmd_line = Param.String("", "Command line to report to guest");
+ stdin = Param.String("stdin",
+ "Standard input (stdin for gem5's terminal)")
+ stdout = Param.String("stdout",
+ "Standard output (stdout for gem5's terminal)")
+ stderr = Param.String("stderr",
+ "Standard error (stderr for gem5's terminal)")
+ files_root_dir = Param.String("",
+ "Host root directory for files handled by Semihosting")
mem_reserve = Param.MemorySize("32MB",
"Amount of memory to reserve at the start of the address map. This "