Changeset cd50486 in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-02-06T22:03:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25971d2
- Parents:
- 1110ebd (diff), 960ff451 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 1 added
- 4 edited
-
addrkeep.h (added)
-
descriptor.h (modified) (1 diff)
-
devreq.h (modified) (3 diffs)
-
usb.h (modified) (1 diff)
-
usbmem.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/descriptor.h
r1110ebd rcd50486 36 36 #define LIBUSB_DESCRIPTOR_H_ 37 37 38 #include <ipc/ipc.h>39 38 #include <async.h> 40 39 -
uspace/lib/usb/include/usb/devreq.h
r1110ebd rcd50486 36 36 #define LIBUSB_DEVREQ_H_ 37 37 38 #include <ipc/ipc.h>39 38 #include <async.h> 40 39 #include <usb/usb.h> … … 70 69 /** Main parameter to the request. */ 71 70 union { 71 uint16_t value; 72 72 /* FIXME: add #ifdefs according to host endianess */ 73 73 struct { … … 75 75 uint8_t value_high; 76 76 }; 77 uint16_t value;78 77 }; 79 78 /** Auxiliary parameter to the request. -
uspace/lib/usb/include/usb/usb.h
r1110ebd rcd50486 38 38 #include <sys/types.h> 39 39 #include <byteorder.h> 40 #include <ipc/ipc.h>41 40 42 41 /** Convert 16bit value from native (host) endianness to USB endianness. */ -
uspace/lib/usb/include/usb/usbmem.h
r1110ebd rcd50486 1 1 /* 2 * Copyright (c) 201 0Matus Dekanek2 * Copyright (c) 2011 Matus Dekanek 3 3 * All rights reserved. 4 4 * … … 35 35 * @{ 36 36 */ 37 /** @file definitions of special memory management, used mostly in usb stack37 /** @file definitions of memory management with address translation, used mostly in usb stack 38 38 * 39 39 * USB HCD needs traslation between physical and virtual addresses. These … … 59 59 60 60 extern void * mman_malloc( 61 size_t size,62 size_t alignment,63 unsigned long max_physical_address);61 size_t size, 62 size_t alignment, 63 unsigned long max_physical_address); 64 64 65 65 extern void * mman_getVA(void * addr);
Note:
See TracChangeset
for help on using the changeset viewer.
