Ticket #36 (closed enhancement: fixed)
Access to OS variables
|Reported by:||ExtendeD||Owned by:|
OS variables such as stdin/stdout currently cannot be accessed.
They should be declared in syscalls.h with a variable flag.
The swi handler should simply return the address in the caller mode's r0 when it reads such a flag.
OS.h should provide _SYSCALL_*() macros for this.