Re: Implement standard file operation with QEMU

2020-07-17 Thread Peter Maydell
On Fri, 17 Jul 2020 at 16:28, casmac wrote: >What I want to realize is to be able to call standard file operations > (open, read, write etc) in the application program, and execute such programs > in QEMU. But I am building under system mode. >TI provide copilation toolchain and a librar

Re: Implement standard file operation with QEMU

2020-07-17 Thread casmac
Hello Phil,    What I want to realize is to be able to call standard file operations (open, read, write etc) in the application program, and execute such programs in QEMU. But I am building under system mode.    TI provide copilation toolchain and a library that provide partial functionality fro

Re: Implement standard file operation with QEMU

2020-07-16 Thread Philippe Mathieu-Daudé
Hi Xiaolei, +Laurent (user-mode) +Alex (semihosting) +Marc-André (chardev) On 7/16/20 2:51 AM, casmac wrote: > Hi all, >   I am trying to implment standard file operation (stdio) with QEMU for > DSP architecture. The manufacture (TI) provides a runtime library that > support posix standard IO, bu

Implement standard file operation with QEMU

2020-07-15 Thread casmac
Hi all,   I am trying to implment standard file operation (stdio) with QEMU for DSP architecture. The manufacture (TI) provides a runtime library that support posix standard IO, but it left the device level implmentation as hook function calls, like in the library source , it contains  add_devi