Changeset 95ad426 in mainline for kernel/generic/include/macros.h


Ignore:
Timestamp:
2009-06-02T17:28:10Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ed901d
Parents:
34356b2
Message:

add very simple implementation of task destruction notification
(which will be later used for waiting on a task)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/macros.h

    r34356b2 r95ad426  
    8484#define STRING_ARG(arg)  #arg
    8585
     86#define LOWER32(arg)  ((arg) & 0xffffffff)
     87#define UPPER32(arg)  (((arg) >> 32) & 0xffffffff)
     88
     89#define MERGE_LOHI32(lo, hi)  ((lo & 0xffffffff) | ((hi & 0xffffffff) < 32))
     90
    8691/** Pseudorandom generator
    8792 *
Note: See TracChangeset for help on using the changeset viewer.