OpenCloudOS-Kernel/arch/metag/tbx
James Hogan 95281171a7 metag: handle low level kicks directly
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 <james.hogan@imgtec.com>
2013-11-06 10:40:02 +00:00
..
Makefile metag: Build infrastructure 2013-03-02 20:09:54 +00:00
tbicore.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbictx.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbictxfpu.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbidefr.S metag: handle low level kicks directly 2013-11-06 10:40:02 +00:00
tbidspram.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbilogf.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbipcx.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbiroot.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbisoft.S metag: TBX source 2013-03-02 20:09:18 +00:00
tbistring.c metag: TBX source 2013-03-02 20:09:18 +00:00
tbitimer.S metag: TBX source 2013-03-02 20:09:18 +00:00