Hi,
I try to use run openJPEG binary code on gems/MIPS_SE.
There is a fatal error that syscall llseek (#4140) unimplemented as the
following.
I am not sure the input format is not correct or the simulator doesn't
support openJPEG.
-----------------------------------------------------------------------------------------------------
Nilay [email protected] to gem5
show details 10:33 AM (3 hours ago)

- Show quoted text -
On Tue, July 12, 2011 8:52 am, xxx wrote:
> Hi,
> I try to use run openJPEG binary code on gems/MIPS_SE.
> There is a fatal error that syscall llseek (#4140) unimplemented as the
> following.
> I am not sure the input format is not correct or the simulator doesn't
> support openJPEG.
>
-----------------------------------------------------------------------------------------------------
>  [linjiah@localhost gem5]$ ./build/MIPS_SE/gem5.opt  configs/example/se.py
> --cmd  ./benchmark/image_to_j2k  --options="-i ./benchmark/Bretagne1.bmp
> -o
> ./benchmark/Bretagne1.j2k"
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Jul 10 2011 22:59:59
> gem5 started Jul 11 2011 23:07:37
> gem5 executing on localhost.localdomain
> command line: ./build/MIPS_SE/gem5.opt configs/example/se.py --cmd
> ./benchmark/image_to_j2k --options=-i ./benchmark/Bretagne1.bmp  -o
> ./benchmark/Bretagne1.j2k
> Global frequency set at 1000000000000 ticks per second
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> 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.
> info: Increasing stack size by one page.
>
> warn: Syscall: open: cannot decode flags 0x2000
> fatal: syscall llseek (#4140) unimplemented.
>  @ cycle 29788500
> [unimplementedFunc:build/MIPS_SE/sim/syscall_emul.cc, line 83]
> Memory Usage: 696248 KBytes
> [linjiah@localhost gem5]$
>

The simulator does not support the system call llseek. The message at the
end is clear enough.

---------------------------------------------------------------------------------

How can I implement such a system call in gem5?
Can you give me some suggestion?

Thanks.
L.J
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to