Use a big-lock for kernel sychronization instead of fine-grained locking
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 2m21s
Build documentation / build-and-deploy (push) Successful in 54s

This commit is contained in:
2026-04-27 18:06:02 +02:00
parent 68cdd8d6d2
commit e5ebd7f3ba
56 changed files with 212 additions and 1206 deletions

View File

@@ -15,8 +15,7 @@
static atomic_int usb_ms_counter = 0;
static struct device* usb_ms_init(struct xhci* xhci, struct xhci_usb_device* usb_device,
struct proc* proc, struct reschedule_ctx* rctx,
uint64_t* lockflags) {
struct proc* proc, struct reschedule_ctx* rctx) {
static device_op_func_t ops[] = {
[XDRV_GET_SIZE] = &usbdrv_get_size,
[XDRV_GET_SECTOR_SIZE] = &usbdrv_get_sector_size,
@@ -29,7 +28,6 @@ static struct device* usb_ms_init(struct xhci* xhci, struct xhci_usb_device* usb
struct usbdrv_init init = {
.xhci = xhci,
.usb_device = usb_device,
.lockflags = lockflags,
};
char key[30];