cuda.c: fix CUDA_PACKET response packet format
commit4202e63c0432c72ba518dd882e99a794620d1665
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 11 Nov 2015 22:49:43 +0000 (11 22:49 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 02:15:54 +0000 (12 13:15 +1100)
tree342e556db3e359a0a16a333fc6e895b9d07f62f9
parent6729aa40135bc96d69b5bf5e65a7d463ef7793e7
cuda.c: fix CUDA_PACKET response packet format

According to comments in MOL, the response to a CUDA_PACKET should be one of
the following:

Reply: (CUDA_PACKET, status, cmd)
Error: (ERROR_PACKET, status, CUDA_PACKET, cmd)

Update cuda_receive_packet() accordingly to reflect this in order to make
MacOS 9 happy.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/cuda.c