Changeset 7f1c620 in mainline for generic/include/synch/futex.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/synch/futex.h

    r991779c5 r7f1c620  
    2727 */
    2828
    29  /** @addtogroup sync
     29/** @addtogroup sync
    3030 * @{
    3131 */
     
    4444/** Kernel-side futex structure. */
    4545struct futex {
    46         __address paddr;        /**< Physical address of the status variable. */
     46        uintptr_t paddr;        /**< Physical address of the status variable. */
    4747        waitq_t wq;             /**< Wait queue for threads waiting for futex availability. */
    4848        link_t ht_link;         /**< Futex hash table link. */
     
    5151
    5252extern void futex_init(void);
    53 extern __native sys_futex_sleep_timeout(__address uaddr, __u32 usec, int flags);
    54 extern __native sys_futex_wakeup(__address uaddr);
     53extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, int flags);
     54extern unative_t sys_futex_wakeup(uintptr_t uaddr);
    5555
    5656extern void futex_cleanup(void);
     
    5858#endif
    5959
    60  /** @}
     60/** @}
    6161 */
    6262
Note: See TracChangeset for help on using the changeset viewer.