"Segmentation Fault" - Writing in a Register (ARM9

Hi. I’m trying to write in register of ARM9 (NS9360) and when I run my program I get an error (Segmentation Fault). My ARM9 is running uCLinux and my compiler is GCC.

I’m doing this:

#define IC0 (*((volatile unsigned long *) 0xA0900144))

IC0 |= 0x97;

I think uClinux don’t permit me to acess the register. Is it possible? Do you have an advice?

Best regards,

Ives.