bl30: AO replace yield with soft IRQ for rtos_sdk [1/1]

PD#SWPL-94768

Problem:
Calling yield in IRQ would do ECALL, which causing IRQ nested by
exception and interrupted by task switch.

Solution:
Replace yield with generating soft interrupt pending, call task
switch in soft IRQ handler and do task swicth after soft IRQ.
For soft irq, need to distinguish PIC or ECLIC.

Verify:
Local test suspend and resume pass.

Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
Change-Id: I3e1586b876dbff72ec053f93bfae96f32bf7db23
3 files changed