Re: Q: void* vs. unsigned long

Oliver Xymoron (oxymoron@waste.org)
Tue, 16 Feb 1999 16:42:24 -0600 (CST)


On Tue, 16 Feb 1999, Chuck Lever wrote:

> i was also wondering about the use of (ulong) and (void *). is it true
> that (ulong) is used for physical addresses and void * is used for virtual
> addresses? wouldn't it be clearer to use a couple of typedefs?

Clearer and safer. Perhaps bus_t, virtual_t, io_t? Though there are some
rumblings about the current scheme being broken for systems with multiple
buses like certain Suns.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/