Hi,

I recently came across the below #define

# define __iomem      __attribute__((noderef, address_space(2)))

Browsing the internet I could find the following detail:

"iomem" means two separate things: it means that sparse should complain
if the pointer is ever dereferenced (it's a "noderef" pointer) directly,
and it's in "address space 2" as opposed to the normal address space (0).

My query : what does this address_space(2) or address_space(0) mean?

Thanks in advance,
Arjun

Reply via email to