mips: Explicitly truncate the syscall return value down to 32 bits.
authorGabe Black <gabeblack@google.com>
Sat, 13 Oct 2018 06:09:07 +0000 (23:09 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 6 Nov 2018 00:35:20 +0000 (00:35 +0000)
commit0167f66c130ada7a49d59d1ef4644d282cd146dc
tree0649d57723142c7ec3279e96b47329456a60801a
parent14b0481f7fdc355154001e842c960d6a1c2c2e1a
mips: Explicitly truncate the syscall return value down to 32 bits.

The IntReg type is 32 bits, and using it to cast the syscall return
value is appropriate, but we're attempting to get rid of the ISA
specific register types.

Change-Id: I42496dd2cc086a6b718e1ce087fef81bb897d02f
Reviewed-on: https://gem5-review.googlesource.com/c/13619
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/arch/mips/process.cc