Hans Petter Selasky
c440229d62
Compilation fixes.
2014-06-06 19:02:45 +00:00
Hans Petter Selasky
5e6464df33
Use own memory pool of 128K until further, hence that works the best.
...
Sponsored by: DARPA, AFRL
2014-05-30 16:49:12 +00:00
Hans Petter Selasky
237f18c95a
Resolve issue with resolving malloc() and free() functions at linking time.
...
Sponsored by: DARPA, AFRL
2014-05-30 14:30:52 +00:00
Hans Petter Selasky
70d843035e
Export structure(s) properly.
...
Sponsored by: DARPA, AFRL
2014-05-30 14:05:31 +00:00
Hans Petter Selasky
ccc29eb1b9
USB boot library improvements:
...
- Make the USB boot library more configurable.
- Resolve compile issues when cross building.
- Allow use of separate malloc.
- Allow use of separate endian macros.
Sponsored by: DARPA, AFRL
2014-05-30 13:39:58 +00:00
Hans Petter Selasky
6eda7f75c1
Add support for USB mass storage to libusbboot.
...
Sponsored by: DARPA, AFRL
2014-05-30 13:10:49 +00:00
Hans Petter Selasky
3b4c173b83
Fix build after recent DWC OTG changes.
2014-05-18 09:29:00 +00:00
Dimitry Andric
0673132dcb
For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.
...
MFC after: 3 days
X-MFC-With: r259730
2013-12-26 11:32:39 +00:00
Hans Petter Selasky
6950c75f40
- 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
2013-02-10 10:56:13 +00:00
Hans Petter Selasky
c3400997c4
Correctly list the usbloader dependencies.
2013-02-08 23:13:46 +00:00
Hans Petter Selasky
9b3a48ee6f
Add defines to more easily allow a single threaded version of the FreeBSD
...
USB stack. This is useful for non-kernel purposes, like the loader.
2013-02-05 14:44:25 +00:00
Hans Petter Selasky
4b037d67aa
Fix depend target.
2013-02-05 12:37:50 +00:00
Hans Petter Selasky
77a9c69878
Initial version of libusbboot, a fully stand-alone, single threaded and
...
functional compilation of the FreeBSD USB stack for use with boot loaders
and such.
Discussed with: Hiroki Sato, hrs @ EuroBSDCon
2013-01-31 11:00:57 +00:00