Changeset 904b1bc in mainline for uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
- Timestamp:
- 2018-05-22T10:36:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4eb3ba2
- Parents:
- 4f8772d4
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-21 17:36:30)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-22 10:36:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
r4f8772d4 r904b1bc 47 47 48 48 volatile uint32_t status; 49 50 volatile uint32_t buffer_pointer[5]; 51 52 /* 64 bit struct only */ 53 volatile uint32_t extended_bp[5]; 54 55 } __attribute__((packed, aligned(32))) td_t; 56 57 /* 58 * td_t.status 59 */ 49 60 #define TD_STATUS_TOGGLE_FLAG (1 << 31) 50 61 #define TD_STATUS_TOTAL_MASK 0x7fff … … 69 80 #define TD_STATUS_PING_FLAG (1 << 0) 70 81 71 volatile uint32_t buffer_pointer[5]; 82 /* 83 * td_t.buffer_pointer 84 */ 85 72 86 #define TD_BUFFER_POINTER_MASK 0xfffff000 73 87 /* Only the first page pointer */ 74 88 #define TD_BUFFER_POINTER_OFFSET_MASK 0xfff 75 76 /* 64 bit struct only */77 volatile uint32_t extended_bp[5];78 79 } __attribute__((packed, aligned(32))) td_t;80 89 81 90 static_assert(sizeof(td_t) % 32 == 0);
Note:
See TracChangeset
for help on using the changeset viewer.