Changeset df6ded8 in mainline for uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
- Timestamp:
- 2018-02-28T16:37:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b20da0
- Parents:
- f5e5f73 (diff), b2dca8de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
- git-committer:
- Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
rf5e5f73 rdf6ded8 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 } __attribute__((packed,aligned(32))) td_t; 80 81 static_assert(sizeof(td_t) % 32 == 0); 78 82 79 83 static inline bool td_active(const td_t *td) … … 92 96 errno_t td_error(const td_t *td); 93 97 94 void td_init(td_t *td, const td_t *next, usb_direction_t dir, const void * buf,98 void td_init(td_t *td, uintptr_t next_phys, uintptr_t buf, usb_direction_t dir, 95 99 size_t buf_size, int toggle, bool ioc); 96 100
Note:
See TracChangeset
for help on using the changeset viewer.