mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-04 03:14:23 +00:00
According to xHCI Spec 4.10.1 Transfer TRBS chapter, there have three scenarios shall generate a Transfer Event TRB when transfer TRBS: 1. If upon transfer completion of a TRB the Interrupt On Completion(IOC) flag is set, the xHC shall generate a Transfer Event TRB. 2. A Short Packet will trigger the generation of a Transfer Event TRB on the Event Ring if the Interrupt-on-Short (ISP) or Interrupt On Completion (IOC) flags are set in the TRB that the Short Packet was detected on. 3. The detection of an error during a transfer shall always generate a Transfer Event, irrespective of whether the Interrupt-on-Short or Interrupt On Completion (IOC) flags are set in the Transfer TRB. When an error condition is encountered which requires an endpoint to halt; the xHC shall stop on the TRB in error, the endpoint shall be halted, and software shall use a Set TR Dequeue Pointer Command to advance the Transfer Ring to the next TD. Tracked-On: #5263 Signed-off-by: Long Liu <long.liu@intel.com> Acked-by: Yu Wang yu1.wang@intel.com
ACRN Device Model ################# Introduction ============ The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component that is used in conjunction with the `ACRN Hypervisor`_ and this is installed within the Service OS. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/