Review Board 2.0.15


x86: i8042: Add VNC mouse support, and flesh out the mouse model.

Review Request #2518 - Created Nov. 22, 2014 and updated

Information
Gabe Black
gem5
default
Reviewers
Default
Changeset 10555:a13dc3596e45
---------------------------
x86: i8042: Add VNC mouse support, and flesh out the mouse model.

This change fleshes out the mouse model so that it can send mouse data to the
simulated system somewhat realistically, and hooks it into the VNC server as
the mouse input device.

   

Issue Summary

6 6 0 0
Description From Last Updated Status
I know it is not changed, but could you elaborate on the unit? Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
const? Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
const? Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
, _space_ Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
For the body of this, could you elaborate on why it looks the way it does? At the moment it ... Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
setMouseAt? Andreas Hansson Dec. 17, 2014, 5:53 a.m. Open
Review request changed
Updated (Nov. 23, 2014, 5:50 a.m.)

Description:

~  

Changeset 10554:5938f3b53a7d

  ~

Changeset 10555:a13dc3596e45

   
   

x86: i8042: Add VNC mouse support, and flesh out the mouse model.

   
   

This change fleshes out the mouse model so that it can send mouse data to the

    simulated system somewhat realistically, and hooks it into the VNC server as
    the mouse input device.

Diff:

Revision 2 (+187 -18)

Show changes

Posted (Dec. 17, 2014, 5:53 a.m.)



  
src/dev/x86/i8042.hh (Diff revision 2)
 
 
I know it is not changed, but could you elaborate on the unit?
  1. I'll have to look at it again to figure out what the unit is, but yeah, that seems reasonable.
src/dev/x86/i8042.cc (Diff revision 2)
 
 
const?
  1. No, because writeData sets state.
src/dev/x86/i8042.cc (Diff revision 2)
 
 
const?
  1. Nope. statusReg is modified.
src/dev/x86/i8042.cc (Diff revision 2)
 
 
, _space_
  1. Yep. I'll fix that.
src/dev/x86/i8042.cc (Diff revision 2)
 
 
For the body of this, could you elaborate on why it looks the way it does? At the moment it is very thin on comments
  1. Yes.
src/dev/x86/i8042.cc (Diff revision 2)
 
 
setMouseAt?
  1. I believe that's part of the VNC interface which is defined outside this device.
Looks good, some minor things