Ticket #36 (closed enhancement: fixed)
Access to OS variables
| Reported by: | ExtendeD | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Ndless: Toolchain | Version: | |
| Keywords: | Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
