Author: avg
Date: Fri Nov 24 11:20:10 2017
New Revision: 326152
URL: https://svnweb.freebsd.org/changeset/base/326152

Log:
  amd-vi: fix and extend definition of Command and Event Status Register 
(0x2020)
  
  The defined bits are the lower bits, not the higher ones.
  
  Also, the specification has been extended to define bits 0:18 and they
  all could potentially be interesting to us, so extend the width of the
  field accordingly.
  
  Reviewed by:  anish

Modified:
  head/sys/amd64/vmm/amd/amdvi_priv.h

Modified: head/sys/amd64/vmm/amd/amdvi_priv.h
==============================================================================
--- head/sys/amd64/vmm/amd/amdvi_priv.h Fri Nov 24 11:10:36 2017        
(r326151)
+++ head/sys/amd64/vmm/amd/amdvi_priv.h Fri Nov 24 11:20:10 2017        
(r326152)
@@ -230,8 +230,8 @@ struct amdvi_ctrl {
        uint64_t :45;
        uint32_t evt_tail:19;
        uint64_t :45;
-       uint64_t :56;
-       uint8_t  status:8;
+       uint8_t  status:19;
+       uint64_t :45;
        uint64_t pad2;
        uint8_t  :4;
        uint16_t ppr_head:15;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to