Changeset ff381a7 in mainline for abi/include


Ignore:
Timestamp:
2015-11-02T20:54:19Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (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.
Message:

Merge mainline changes.

Location:
abi/include/abi
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • abi/include/abi/errno.h

    r3feeab2 rff381a7  
    6262#define EPARTY         -8
    6363
    64 #define EEXISTS        -9   /* Entry already exists */
     64#define EEXIST         -9   /* Entry already exists */
    6565#define EBADMEM        -10  /* Bad memory pointer */
    6666#define ENOTSUP        -11  /* Not supported */
  • abi/include/abi/fourcc.h

    r3feeab2 rff381a7  
    3333 */
    3434
    35 #ifndef LIBC_FOURCC_H_
    36 #define LIBC_FOURCC_H_
     35#ifndef ABI_FOURCC_H_
     36#define ABI_FOURCC_H_
    3737
    38 #include <libarch/common.h>
    39 
    40 typedef uint32_t fourcc_t;
     38#include "../../../common.h"
    4139
    4240#define FOURCC(a, b, c, d) \
     
    4442            (((UINT32_T) (c)) << 16) | (((UINT32_T) (d)) << 24))
    4543
     44#define CC_COMPACT(a) \
     45        ((UINT32_T) (a) & 0x7f)
     46
     47#define FOURCC_COMPACT(a, b, c, d) \
     48        ((CC_COMPACT(a) << 4) | (CC_COMPACT(b) << 11) | \
     49            (CC_COMPACT(c) << 18) | (CC_COMPACT(d) << 25))
     50
    4651#endif
    4752
Note: See TracChangeset for help on using the changeset viewer.