X_SWI errors
Colin Ferris (399) 1751 posts |
How do SWI’s handle errors? |
Steve Pampling (1551) 7955 posts |
That’s covered in the Introduction To SWIs wiki page |
Rick Murray (539) 13422 posts |
It doesn’t matter to the module. You see the non-X SWI and you return an error as normal. On exit from the SWI, the kernel decides what to do based upon the X bit. Edit: For more info, read the introduction linked above. |
Colin Ferris (399) 1751 posts |
Going round in Circles!! in !LIRC running in the Emulator. Seem to have a error in – ie V set in That seems to prove the point- prog works. If correct – it seems to work. |
Colin Ferris (399) 1751 posts |
If using RMA space from App space – would this work? ie a BLeq number. bne PassPtr PassPtr number |
Colin Ferris (399) 1751 posts |
Looking a old module – it reminds me that at the beginning of the SWI’s code - I think that there was a discussion back along about forcing the SWI’s – for testing – into USR mode (32bit msr cpsr_c,#&10) Seems the whole/most RO OS is now being run in USR mode using the Linux model. Is there any advice for tracing Module code with DDT – I presume it can – but don’t see how. Is there way of printing to the screen a say – at the top left – with the last ‘PC’ address’s. |