Rev 3770 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3770 | Rev 4638 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | compare.tick_cmpr = tick_counter_read() + |
56 | compare.tick_cmpr = tick_counter_read() + |
57 | CPU->arch.clock_frequency / HZ; |
57 | CPU->arch.clock_frequency / HZ; |
58 | CPU->arch.next_tick_cmpr = compare.tick_cmpr; |
58 | CPU->arch.next_tick_cmpr = compare.tick_cmpr; |
59 | tick_compare_write(compare.value); |
59 | tick_compare_write(compare.value); |
60 | 60 | ||
61 | #if defined (US3) |
61 | #if defined (US3) || defined (SUN4V) |
62 | /* disable STICK interrupts and clear any pending ones */ |
62 | /* disable STICK interrupts and clear any pending ones */ |
63 | tick_compare_reg_t stick_compare; |
63 | tick_compare_reg_t stick_compare; |
64 | softint_reg_t clear; |
64 | softint_reg_t clear; |
65 | 65 | ||
66 | stick_compare.value = stick_compare_read(); |
66 | stick_compare.value = stick_compare_read(); |