LLP64: change UNSIGNED-LONG to UNSIGNED
authorDavid Lichteblau <david@lichteblau.com>
Fri, 9 Nov 2012 13:25:42 +0000 (14:25 +0100)
committerDavid Lichteblau <david@lichteblau.com>
Tue, 20 Nov 2012 14:02:05 +0000 (15:02 +0100)
commitfb6f41008e8e7d22008d4b97d9aea364d688d2ae
tree76a699bd890ddda13a01a0c511715bea7c3d06cb
parentb727b3bff6f2a989e8e20e199945c2bf768214a9
LLP64: change UNSIGNED-LONG to UNSIGNED

Adjust references to alien types within Lisp code for LLP64 platforms,
replacing UNSIGNED-LONG with UNSIGNED.

UNSIGNED-LONG is currently used when pointer-size values are desirable,
but does not have that meaning on LLP64 platforms.

Note: UNSIGNED does not in general refer to C's `unsigned'; rather it
means (UNSIGNED N-WORD-BITS).  UNSIGNED-LONG actually means `unsigned
long'.  The implication is that

  32 <= sizeof(UNSIGNED-LONG) <= sizeof(UNSIGNED) <= 64

and not, as one might have expected, the other way around.  Existing
platforms were assuming these two types to be the same.

Thanks to Anton Kovalenko.
src/code/debug-int.lisp
src/code/foreign-load.lisp
src/code/interr.lisp
src/code/room.lisp
src/code/target-allocate.lisp
src/code/target-thread.lisp
src/code/unix.lisp
src/code/x86-64-vm.lisp
src/compiler/generic/target-core.lisp