Changeset 5cbccd4 in mainline for uspace/lib


Ignore:
Timestamp:
2017-06-15T17:26:44Z (9 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
48197c1
Parents:
f4eb6c93
Message:

xhci: register structures

Location:
uspace/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/byteorder.h

    rf4eb6c93 r5cbccd4  
    8585#define ntohl(n)  uint32_t_be2host((n))
    8686
     87#define uint8_t_be2host(n)  (n)
     88#define uint8_t_le2host(n)  (n)
     89#define host2uint8_t_be(n)  (n)
     90#define host2uint8_t_le(n)  (n)
     91
    8792static inline uint64_t uint64_t_byteorder_swap(uint64_t n)
    8893{
  • uspace/lib/pcm/src/format.c

    rf4eb6c93 r5cbccd4  
    4141
    4242#include "format.h"
    43 
    44 #define uint8_t_le2host(x) (x)
    45 #define host2uint8_t_le(x) (x)
    46 #define uint8_t_be2host(x) (x)
    47 #define host2uint8_t_be(x) (x)
    4843
    4944#define int8_t_le2host(x) (x)
  • uspace/lib/usbhost/src/ddf_helpers.c

    rf4eb6c93 r5cbccd4  
    854854            [USB_SPEED_HIGH] = { .bw = BANDWIDTH_AVAILABLE_USB11,
    855855                                 .bw_count = bandwidth_count_usb11 },
     856            [USB_SPEED_SUPER] = { .bw = BANDWIDTH_AVAILABLE_USB11,
     857                                 .bw_count = bandwidth_count_usb11 },
    856858        };
    857859
Note: See TracChangeset for help on using the changeset viewer.