Kernel: Allow USB devices to handle STALL conditions

This commit is contained in:
2024-11-22 22:15:22 +02:00
parent 8e624ca85a
commit e620068416
7 changed files with 29 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ namespace Kernel
BAN_NON_MOVABLE(USBMassStorageDriver);
public:
void handle_stall(uint8_t endpoint_id) override;
void handle_input_data(size_t byte_count, uint8_t endpoint_id) override;
BAN::ErrorOr<size_t> send_bytes(paddr_t, size_t count);