GitBucket
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
lukas
/
honey-os
Browse code
add documentation links for xhci and usb mass storage classes
master
1 parent
c048396
commit
a3a057c61df37ebe55216e9dd0ab89eab4f60a06
biosfood
authored
on 14 Nov 2023
Patch
Unified
Split
Showing
2 changed files
+2
-0
■
■
■■■
src/userland/scisi/main.c
+3
-0
■
■
■
■■
src/userland/usbStorage/main.c
Ignore Space
Show notes
View
2
■
■
■■■
src/userland/scisi/main.c
#include
<hlib.h>
#include
<scisi.h>
ListElement
*
devices
=
NULL
;
// see https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068j.pdf
void
doInquiry
(
ScisiDevice
*
device
)
{
InquiryCommand
*
command
=
malloc
(
sizeof
(
InquiryCommand
));
command
->
size
=
sizeof
(
InquiryCommand
)
-
2
*
sizeof
(
uint32_t
);
Ignore Space
Show notes
View
3
■
■
■
■■
src/userland/usbStorage/main.c
#include
<storage.h>
#include
<hlib.h>
// mass storage: https://www.usb.org/sites/default/files/Mass_Storage_Specification_Overview_v1.4_2-19-2010.pdf
// bulk only: https://www.usb.org/sites/default/files/usbmassbulk_10.pdf
typedef
union
{
uint32_t
value
;
struct
{
Show line notes below