Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Panic at boot on 4/330 with cgfour and cgsix
> 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 mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index