20#include "pedigree/kernel/Log.h"
21#include "pedigree/kernel/panic.h"
22#include "pedigree/kernel/utilities/new"
24#include "UsbMassStorageDevice.h"
25#include "modules/Module.h"
26#include "modules/system/usb/UsbPnP.h"
41 if (!g_Registration.reset())
42 panic(
"USB mass-storage binding could not be retired");
45MODULE_INFO(
"usb-mass-storage", &entry, &exit,
"usb",
"scsi");
MUST_USE_RESULT bool registerCallback(uint16_t nVendorId, uint16_t nProductId, callback_t callback, Registration ®istration)
Register a callback for the given vendor and product IDs.
static UsbPnP & instance()
Singleton design.
void EXPORTED_PUBLIC panic(const char *msg) NORETURN