[MTHCA] bugfix: fixes memory registration on 32-bit platforms. Virtual addresses...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 6 Sep 2006 13:36:55 +0000 (13:36 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 6 Sep 2006 13:36:55 +0000 (13:36 +0000)
commit1f085b5caa3991a4c745c598d1104ede8a4f1d65
tree69d952b5aa59cf0b2b3210e2f619e92b5a1dfee3
parent62590f262c208627a989c108a41f39b99fc2d7ed
[MTHCA] bugfix: fixes memory registration on 32-bit platforms.  Virtual addresses in Windows are sign extended when extended to 64-bits, but the code currently truncates the input virtual address to 32-bits and then does an unsigned extension to 64-bits.

Submitted by: Fabian Tillier [ftillier@silverstorm.com]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@481 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mthca/kernel/hca_memory.c