I came across this statement
vect_addr = (unsigned long *)(VIC_BASE_ADDR + VECT_ADDR_INDEX + i*4);
i don understand what this is.. especially unsigned long *
I came across this statement
vect_addr = (unsigned long *)(VIC_BASE_ADDR + VECT_ADDR_INDEX + i*4);
i don understand what this is.. especially unsigned long *
Last edited by Sonia; 10-13-2010 at 03:50 AM.
There's a great explanation for your question here:
Tutorial on Pointers
Also check out the FAQ on typecasting, and why it's used. :-)