mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
Kernel/USB: Add Hubs and the UHCI Root Hub
This commit is contained in:
parent
9dcd146ab4
commit
da0a1068e9
11 changed files with 1009 additions and 100 deletions
16
Kernel/Bus/USB/USBConstants.h
Normal file
16
Kernel/Bus/USB/USBConstants.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel::USB {
|
||||
|
||||
// USB 2.0 Specification Section 9.4.6
|
||||
static constexpr u8 USB_MAX_ADDRESS = 127;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue