Ignore:
Timestamp:
2017-07-12T21:50:32Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f711f06
Parents:
f9e7fe8
Message:

Added qword equivalent of the XHCI_DWORD_EXTRACT macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hw_struct/common.h

    rf9e7fe8 rce85fc8  
    5959
    6060#define XHCI_DWORD_EXTRACT(field, hi, lo) (BIT_RANGE_EXTRACT(uint32_t, hi, lo, xhci2host(32, field)))
     61#define XHCI_QWORD_EXTRACT(field, hi, lo) (BIT_RANGE_EXTRACT(uint64_t, hi, lo, xhci2host(64, field)))
    6162
    6263/**
Note: See TracChangeset for help on using the changeset viewer.