Subject: LP64 advice
To: None <port-sparc64@netbsd.org>
From: john heasley <heas@shrubbery.net>
List: port-sparc64
Date: 01/25/2003 01:39:56
so, i switched my desktop from a ss20 to an ultra 2, the weekend
before sparc smp went it (had i known, i would have waited), to
get more cpu.  i am having problems with X on a gx+.  there
are a few issues that seem to be LP64 related.  eg:

	- kbd leds are not handled properly
	- Xsun bus-error when colormap switches (think i've nailed this one)
	etc.

to be sure i'm doing something which will be accepted for commit, is there
some web-page with guidelines for making things LP64 safe?

for example; there are several uses of (unsigned) longs.  in this case,
so far, most of these seem to be harmless, but i've found a few that
really should be a 32bit int.  when folks are making LP64 fixes, is it
customary to just leave longs that do not matter as is, or make them of
the "intended" type?