/kernel/trunk/generic/include/synch/futex.h |
---|
37,9 → 37,9 |
/** Kernel-side futex structure. */ |
struct futex { |
__address paddr; /** Physical address of the status variable. */ |
waitq_t wq; /** Wait queue for threads waiting for futex availability. */ |
link_t ht_link; /** Futex hash table link. */ |
__address paddr; /**< Physical address of the status variable. */ |
waitq_t wq; /**< Wait queue for threads waiting for futex availability. */ |
link_t ht_link; /**< Futex hash table link. */ |
}; |
extern void futex_init(void); |
/kernel/trunk/generic/include/arch.h |
---|
45,7 → 45,7 |
/** |
* For each possible kernel stack, structure |
* of the following type will be placed at |
* the bottom of the stack. |
* the base address of the stack. |
*/ |
struct the { |
count_t preemption_disabled; /**< Preemption disabled counter. */ |
/kernel/trunk/generic/include/mm/buddy.h |
---|
34,7 → 34,7 |
#define BUDDY_SYSTEM_INNER_BLOCK 0xff |
/** Buddy system operations to be implemented by each implementations. */ |
/** Buddy system operations to be implemented by each implementation. */ |
struct buddy_system_operations { |
link_t *(* find_buddy)(buddy_system_t *, link_t *); /**< Return pointer to left-side or right-side buddy for block passed as argument. */ |
link_t *(* bisect)(buddy_system_t *, link_t *); /**< Bisect the block passed as argument and return pointer to the new right-side buddy. */ |