You can certainly include devices in your system configuration regardless of whether you're using SE or FS mode. Without a device driver, though, it's tricky to actually use use device, unless you've explicitly designed the device for user-mode access, or if your application has its own device driver built in. Basically you can use the 'map()' method on the Process object (see src/sim/Process.py) to map the device registers into your program address space, but from there it's up to you to do the proper MMIO accesses to get it to work.
Steve On Fri, Jun 26, 2015 at 12:47 PM cao2 <c...@mail.usf.edu> wrote: > Hi > > Can SE mode have peripherals like terminal, usb or anything? I can't seem > to find any related documentation. > > Best, > Cao > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users