how to realize resource engrossed by one programme?

how to realize resource engrossed by one programme? e.g. IO adress and
irq

of course OS is qnx neutrino
thank you!

IO you can’t not, irq you can do sin ir.