On 2014/10/16 16:35, Dr. David Alan Gilbert wrote:
* zhanghailiang ([email protected]) wrote:

+        case MIG_RPCOMM_ACK:
+            tmp32 = be32_to_cpup((uint32_t *)buf);
+            DPRINTF("RP: Received ACK 0x%x", tmp32);
+            atomic_xchg(&ms->rp_state.latest_ack, tmp32);

I didn't see *ms->rp_state.latest_ack* been used elsewhere, what's it used 
for?;)

Nothing currently; I've used the REQ/ACK as debug at the moment;   I was 
thinking
that someone might want to wait on an ack being received before carrying on; 
but hadn't
actually needed it in postcopy.


OK, i see, Thanks.

Dave

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

.




Reply via email to