how to determine which interrupts enable and which desable?

hi all.

How can i determine which interrupts are enabled in my machine (x86). I mean
how can i access information about this through my pic/apic, or
how can i see, which interrupt enable? Maybe i can do it through /proc, or /sys?
I writing driver and i think, that i incorrect initialize it, but i wanna be sure,
that interrupt can reach cpu and not stuck in my interrupt controller.

I know that there are /proc/interrupts that don't show intr if now int_handler is installed
and /proc/stat, but i need information from my apic controller, interrupt mask...

In dos, as i know, i can access to 0x21 (or 0x20, i'm not familiar with it) and put
there my interrupt mask and then i can be sure, that my interrupt will be reached
to the cpu...

I have x86, linux 2.6.18.

English is not my native language, so sorry for any gramma
and other errors.
Thanks for advice.