File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 7373
7474https://github.com/lupyuen/pinephone-nuttx-usb/blob/b80499b3b8ec837fe2110e9476e8a6ad0f194cde/a64_ehci.c#L186-L200
7575
76+ TODO
77+
78+ ``` text
79+ DEBUGASSERT(sizeof(struct ehci_overlay_s) == SIZEOF_EHCI_OVERLAY);
80+ ```
81+
82+ TODO
83+
84+ ``` text
85+ sizeof(struct ehci_overlay_s)=32
86+ ```
87+
7688# Output Log
7789
7890``` text
Original file line number Diff line number Diff line change @@ -4988,6 +4988,18 @@ struct usbhost_connection_s *a64_ehci_initialize(int controller)
49884988
49894989 _info ("sizeof(struct a64_qh_s)=%d\n" , sizeof (struct a64_qh_s ));////
49904990 _info ("sizeof(struct a64_qtd_s)=%d\n" , sizeof (struct a64_qtd_s ));////
4991+ _info ("sizeof(struct ehci_itd_s)=%d\n" , sizeof (struct ehci_itd_s ));////
4992+ _info ("sizeof(struct ehci_sitd_s)=%d\n" , sizeof (struct ehci_sitd_s ));////
4993+ _info ("sizeof(struct ehci_qtd_s)=%d\n" , sizeof (struct ehci_qtd_s ));////
4994+ _info ("sizeof(struct ehci_overlay_s)=%d\n" , sizeof (struct ehci_overlay_s ));////
4995+ _info ("sizeof(struct ehci_qh_s)=%d\n" , sizeof (struct ehci_qh_s ));////
4996+ _info ("sizeof(struct ehci_fstn_s)=%d\n" , sizeof (struct ehci_fstn_s ));////
4997+ DEBUGASSERT (sizeof (struct ehci_itd_s ) == SIZEOF_EHCI_ITD_S );////
4998+ DEBUGASSERT (sizeof (struct ehci_sitd_s ) == SIZEOF_EHCI_SITD_S );////
4999+ DEBUGASSERT (sizeof (struct ehci_qtd_s ) == SIZEOF_EHCI_QTD_S );////
5000+ DEBUGASSERT (sizeof (struct ehci_overlay_s ) == 32 );////
5001+ DEBUGASSERT (sizeof (struct ehci_qh_s ) == 48 );////
5002+ DEBUGASSERT (sizeof (struct ehci_fstn_s ) == SIZEOF_EHCI_FSTN_S );////
49915003
49925004 /* Sanity checks */
49935005
You can’t perform that action at this time.
0 commit comments