feat: Massive OS expansion with IPC, Sound & TTS, Block layer, FAT32/ext2/sysfs, Signals, Syscalls, Modules, Drivers & 50+ LazyBox applets

This commit is contained in:
subhobhai943 committed 2026-08-16 23:06:53 +05:30
1 parent 5662be29f5
commit d680335f05
64 files changed
+2370 -166

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#ifndef _DRIVERS_USB_H
#define _DRIVERS_USB_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#define USB_MAX_DEVICES 8
typedef enum {
USB_SPEED_LOW = 0,
USB_SPEED_FULL = 1,
USB_SPEED_HIGH = 2
} usb_speed_t;
typedef struct usb_device {
uint8_t address;
uint16_t vendor_id;
uint16_t product_id;
uint8_t class_code;
char product_name[32];
usb_speed_t speed;
bool connected;
} usb_device_t;
void usb_init(void);
size_t usb_get_device_count(void);
const usb_device_t* usb_get_device(size_t index);
#endif // _DRIVERS_USB_H