From 07c18e4e92170f42c04651098b0a5e506e8f1efe Mon Sep 17 00:00:00 2001 From: hselasky Date: Sun, 10 Feb 2013 10:56:13 +0000 Subject: - Move scratch data from the USB bus structure to the USB device structure so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. Also reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. MFC after: 1 week --- sys/boot/usb/bsd_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/boot/usb') diff --git a/sys/boot/usb/bsd_global.h b/sys/boot/usb/bsd_global.h index 80cbd63..2fb0dcc 100644 --- a/sys/boot/usb/bsd_global.h +++ b/sys/boot/usb/bsd_global.h @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -52,7 +53,6 @@ #include #include #include -#include #include #include #include -- cgit v1.1