Changeset 5a7d9d1 in mainline for generic/include/macros.h


Ignore:
Timestamp:
2006-03-17T10:07:28Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4e49572
Parents:
226a654
Message:

More checks for address space area conflicts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/macros.h

    r226a654 r5a7d9d1  
    4040#define max(a,b)        ((a)>(b)?(a):(b))
    4141
    42 /* Return true if the interlvals overlap */
    43 static inline int overlaps(__address s1,size_t sz1, __address s2, size_t sz2)
     42/** Return true if the interlvals overlap. */
     43static inline int overlaps(__address s1, size_t sz1, __address s2, size_t sz2)
    4444{
    4545        __address e1 = s1+sz1;
Note: See TracChangeset for help on using the changeset viewer.