Would like some clairty regarding ASOT_INTERRUPT node type

This forum is for general developer support questions.
Post Reply
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Would like some clairty regarding ASOT_INTERRUPT node type

Post by Hypex »

Hi guys.

I've been reviewing some of my old code and code of others installing an interrupt in the system. It uses the proper method of using AllocSysObjectTags() with an ASOT_INTERRUPT type. However, I noticed there is a tendency to set the interrupt node type to NT_EXTINTERRUPT. Was this ever necessary? With earlier kernel version even? Given this is an OS4 only function it doesn't make sense that it would return a 68K NT_INTERRUPT rather than a PPC native NT_EXTINTERRUPT type.

The following example uses same technique cleanly without modifying the Interrupt structure returned. I would prefer the cleaner approach. It is a software interrupt but running native code in the interrupt routine obviously.
http://wiki.amigaos.net/wiki/Exec_Inter ... Interrupts
Post Reply