1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

Kernel/USB: Add a crude USB MassStorage driver :^)

This commit is contained in:
Hendiadyoin1 2023-09-15 21:15:30 +02:00 committed by Andrew Kaster
parent c230a0d96f
commit 29292bbdbf
8 changed files with 615 additions and 0 deletions

View file

@ -11,6 +11,7 @@
namespace Kernel::USB {
// https://www.usb.org/defined-class-codes
static constexpr u8 USB_CLASS_DEVICE = 0x00;
static constexpr u8 USB_CLASS_AUDIO = 0x01;
static constexpr u8 USB_CLASS_COMMUNICATIONS_AND_CDC_CONTROL = 0x02;
static constexpr u8 USB_CLASS_HID = 0x03;