Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bus space handle type for mips



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 6, 2010, at 5:39 PM, David Holland wrote:

On Sun, Jun 06, 2010 at 11:17:38PM +0200, Martin Husemann wrote:
This patch makes bus_space_handle_t unsigned again (as it was before the
partial mips64 merges where it changed from u_long to intptr_t).

This unbreaks PCI on alchemy boards for me. I don't see why the handle
should be a signed value - am I missing something?

To some extent mips addresses are signed; in particular I believe the
mapping of the 32-bit address space into the 64-bit address space is
signed, in the sense of using sign extension for addresses 0x80000000
to 0xffffffff. (Someone who's actually touched mips64 can probably
confirm or refute this instantly.)

I remember the same thing.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTAweispnzkX8Yg2nAQIIJAf/U59qmCuPSx/KoV/wWz/WOBNQQf7NFCYZ
qz6zzbjakWlIF5IHUcVr7HO6Mg4xv+5cN2BxL2Bi2RugMpsKdp966rbLwzBfxx1V
KGwNTrphYccO/ms7GmKvhtu/MumITxRKXk63I6m9tpY7ueOeKp1BQ7vDSAHvav7J
oAHiNEzSGUmu7Jrpnr2VFjMtrDVUB35/GBCmLpJE4nSg9Yj4XyDCU5L1WijnSVHc
tWS9rlG4p4zrC2ABR1D2SlX+YIX2F3tsufyoB6vQaqoDOfDpIHpdDOxbGkTZouxl
ZDRfopZFy/rY+QcLM4JpYdrR3Un64hH5bn7VmOc9FN/pl9YcDbWq6w==
=uqsX
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index