wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[SWI] Problem when SWI performs context switch #86

Closed trylimits closed 9 years ago

trylimits commented 9 years ago

Our SWI has problems if within the handler the context is manipulated. Atm. the software interrupt switches to privileged mode which uses the stack from the user process, i.e. 0x10002000. If the handler then performs a context switch an external dabt occurs.

Removing the switch to the privileged mode works fine.

trylimits commented 9 years ago

We should probably discuss this issue on Wed. coaching. Set to pending until then.

trylimits commented 9 years ago

Acc. to today's meeting handling the SWI in the interrupt mode is okay.