2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
This commit is contained in:
parent
e546101697
commit
4b1d9c5854
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-03-07 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
|
||||||
|
|
||||||
2006-02-01 Shaun Jackman <sjackman@gmail.com>
|
2006-02-01 Shaun Jackman <sjackman@gmail.com>
|
||||||
|
|
||||||
* armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
|
* armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
|
||||||
|
|
|
@ -747,8 +747,8 @@ ARMul_OSHandleSWI (ARMul_State * state, ARMword number)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AngelSWI_Reason_IsTTY:
|
case AngelSWI_Reason_IsTTY:
|
||||||
state->Reg[0] = sim_callback->close (sim_callback,
|
state->Reg[0] = sim_callback->isatty (sim_callback,
|
||||||
ARMul_ReadWord (state, addr));
|
ARMul_ReadWord (state, addr));
|
||||||
OSptr->ErrorNo = sim_callback->get_errno (sim_callback);
|
OSptr->ErrorNo = sim_callback->get_errno (sim_callback);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue