/[qemu]/qemu/linux-user/arm-semi.c
ViewVC logotype

Diff of /qemu/linux-user/arm-semi.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by bellard, Sat Apr 23 18:25:40 2005 UTC revision 1.2 by bellard, Tue Apr 26 20:44:10 2005 UTC
# Line 124  uint32_t do_arm_semihosting(CPUState *en Line 124  uint32_t do_arm_semihosting(CPUState *en
124      case SYS_ISTTY:      case SYS_ISTTY:
125          return isatty(ARG(0));          return isatty(ARG(0));
126      case SYS_SEEK:      case SYS_SEEK:
127          return set_swi_errno(ts, lseek(ARG(0), ARG(1), SEEK_SET));          ret = set_swi_errno(ts, lseek(ARG(0), ARG(1), SEEK_SET));
128            if (ret == (uint32_t)-1)
129              return -1;
130            return 0;
131      case SYS_FLEN:      case SYS_FLEN:
132          {          {
133              struct stat buf;              struct stat buf;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26