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
Hi,
> probably best to fix this by either explicitly casting
> PFOUR_COLOR_OFF_CMAP as ((paddr_t)0xfff00000) or simply making
> it unsigned as 0xfff00000u.
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)?
Alternatively we could define a new:
#define PFOUR_COLOR_OFF_CMAP64
and use that in sys/arch/sparc/dev/cgfour.c, so that sys/dev/sun/pfourreg.h
works for both sun3 and sparc (I have a slight preference for this).
Regards,
Julian
Home |
Main Index |
Thread Index |
Old Index