We don't support all syscalls, but you can implement the functionality if you want. The getrlimitFunc is defined in src/sim/syscall_emul.hh. Currently it supports reporting the stack size and the data size. You can follow the template there to add whatever 7 is.
Ali On 10.01.2012 18:05, Rio Xiangyu Dong wrote: > Hi, > > I'm trying to port PARSEC 2.1 benchmark to ARM_SE. I've statically cross-compiled most of the benchmarks. Most of them can run smoothly. However, the benchmark "ferret" encountered a error message of "getrlimitFunc: unimplemented resource 7". > > 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 > > Switch at instruction count:10000000000 > > info: Entering event queue @ 0. Starting simulation... > > PARSEC Benchmark Suite Version 2.1 > > info: Increasing stack size by one page. > > info: Increasing stack size by one page. > > info: Increasing stack size by one page. > > info: Increasing stack size by one page. > > getrlimitFunc: unimplemented resource 7 > > Program aborted at cycle 122057500 > > Abort (core dumped) > > It seems to me that some syscalls are not implemented in Gem5 ARM_SE simulator yet. Am I correct? If not, might someone give me a hint on fixing this issue? If yes, is there any plan to add more syscalls in the SE mode? > > Thank you!
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users