Subversion Repositories HelenOS

Rev

Rev 3022 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4537
Line 49... Line 49...
49
 */
49
 */
50
typedef struct {
50
typedef struct {
51
    SPINLOCK_DECLARE(lock);
51
    SPINLOCK_DECLARE(lock);
52
 
52
 
53
    tlb_shootdown_msg_t tlb_messages[TLB_MESSAGE_QUEUE_LEN];
53
    tlb_shootdown_msg_t tlb_messages[TLB_MESSAGE_QUEUE_LEN];
54
    count_t tlb_messages_count;
54
    size_t tlb_messages_count;
55
   
55
   
56
    context_t saved_context;
56
    context_t saved_context;
57
 
57
 
58
    atomic_t nrdy;
58
    atomic_t nrdy;
59
    runq_t rq[RQ_COUNT];
59
    runq_t rq[RQ_COUNT];
60
    volatile count_t needs_relink;
60
    volatile size_t needs_relink;
61
 
61
 
62
    SPINLOCK_DECLARE(timeoutlock);
62
    SPINLOCK_DECLARE(timeoutlock);
63
    link_t timeout_active_head;
63
    link_t timeout_active_head;
64
 
64
 
65
    count_t missed_clock_ticks; /**< When system clock loses a tick, it is recorded here
65
    size_t missed_clock_ticks;  /**< When system clock loses a tick, it is recorded here
66
                         so that clock() can react. This variable is
66
                         so that clock() can react. This variable is
67
                         CPU-local and can be only accessed when interrupts
67
                         CPU-local and can be only accessed when interrupts
68
                         are disabled. */
68
                         are disabled. */
69
 
69
 
70
    /**
70
    /**