path: root/arch/metag/tbx
AgeCommit message (Collapse)AuthorFilesLines
2016-04-18metag: Fix misspellings in comments.Adam Buchbinder2-4/+4
Signed-off-by: Adam Buchbinder <> Signed-off-by: Jiri Kosina <>
2013-11-06metag: handle low level kicks directlyJames Hogan1-1/+1
Kick interrupts trigger the LWK (low level kick) signal, usually handled by the __TBIDoStdLWK() function which is the only handler inherited from the bootloader. The LWK signal is converted either to a SWK (plain software kick) or a SWS (software kick with an attached message). Linux has kick_handler() to handle SWK and call registered kick handlers (IPIs and inter-thread comms), but SWS is as far as I'm aware unused with Linux. Therefore remove that abstraction and have Linux handle LWK directly. This will reduce kick latency slightly, and reduce our dependence on the bootloader, which makes it easier to directly boot a kernel in QEMU (particularly for SMP). Signed-off-by: James Hogan <>
2013-03-02metag: Build infrastructureJames Hogan1-0/+21
Add metag build infrastructure. Signed-off-by: James Hogan <>
2013-03-02metag: TBX sourceJames Hogan11-0/+2172
Add source files from the Thread Binary Interface (TBI) library which provides useful low level operations and traps/context management. Among other things it handles interrupt/exception/syscall entry (in tbipcx.S). Signed-off-by: James Hogan <>