Subversion Repositories HelenOS-historic

Rev

Rev 665 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 665 Rev 958
Line 30... Line 30...
30
#include <arch/interrupt.h>
30
#include <arch/interrupt.h>
31
#include <arch/asm.h>
31
#include <arch/asm.h>
32
#include <arch/register.h>
32
#include <arch/register.h>
33
#include <debug.h>
33
#include <debug.h>
34
#include <time/clock.h>
34
#include <time/clock.h>
-
 
35
#include <typedefs.h>
35
 
36
 
36
/** Initialize tick interrupt. */
37
/** Initialize tick interrupt. */
37
void tick_init(void)
38
void tick_init(void)
38
{
39
{
39
    tick_compare_reg_t compare;
40
    tick_compare_reg_t compare;
Line 46... Line 47...
46
}
47
}
47
 
48
 
48
/** Process tick interrupt.
49
/** Process tick interrupt.
49
 *
50
 *
50
 * @param n Interrupt Level, 14,  (can be ignored)
51
 * @param n Interrupt Level, 14,  (can be ignored)
51
 * @param stack Stack pointer of the interrupted context.
52
 * @param istate Interrupted state.
52
 */
53
 */
53
void tick_interrupt(int n, void *stack)
54
void tick_interrupt(int n, istate_t *istate)
54
{
55
{
55
    softint_reg_t softint, clear;
56
    softint_reg_t softint, clear;
56
   
57
   
57
    softint.value = softint_read();
58
    softint.value = softint_read();
58
   
59