Changeset 35c37fc in mainline for uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
- Timestamp:
- 2018-01-05T20:15:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e5b162
- Parents:
- b60944b
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-05 16:11:04)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-05 20:15:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
rb60944b r35c37fc 37 37 #include <stddef.h> 38 38 #include <stdint.h> 39 #include <macros.h> 39 40 #include "link_pointer.h" 40 41 #include "mem_access.h" … … 75 76 /* 64 bit struct only */ 76 77 volatile uint32_t extended_bp[5]; 77 } td_t; 78 79 /* TDs must be 32-byte aligned */ 80 PADD32 [3]; 81 82 } __attribute__((packed)) td_t; 83 84 static_assert(sizeof(td_t) % 32 == 0); 78 85 79 86 static inline bool td_active(const td_t *td) … … 92 99 int td_error(const td_t *td); 93 100 94 void td_init(td_t *td, const td_t *next, usb_direction_t dir, const void * buf,101 void td_init(td_t *td, uintptr_t next_phys, uintptr_t buf, usb_direction_t dir, 95 102 size_t buf_size, int toggle, bool ioc); 96 103
Note:
See TracChangeset
for help on using the changeset viewer.