Re: Panic at boot on 4/330 with cgfour and cgsix

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
> Because we need the 64-bit type, how about:

> /* Offset of -0x00100000 with 64-bit bus addresses */
> #define	PFOUR_COLOR_OFF_CMAP ((paddr_t) 0xfffffffffff00000)

> (I think I have the correct number of f and 0)?

Wouldn't it be better (more understandable, automatically adapts to
future changes to paddr_t's type, etc) to use (-(paddr_t)0x00100000)?

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.