Rev 125 | Rev 437 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 125 | Rev 268 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | */ |
109 | */ |
110 | l_apic_init(); |
110 | l_apic_init(); |
111 | l_apic_debug(); |
111 | l_apic_debug(); |
112 | } |
112 | } |
113 | 113 | ||
114 | void apic_spurious(__u8 n, __u32 stack[]) |
114 | void apic_spurious(__u8 n, __native stack[]) |
115 | { |
115 | { |
116 | printf("cpu%d: APIC spurious interrupt\n", CPU->id); |
116 | printf("cpu%d: APIC spurious interrupt\n", CPU->id); |
117 | } |
117 | } |
118 | 118 | ||
119 | int apic_poll_errors(void) |
119 | int apic_poll_errors(void) |
Line 317... | Line 317... | ||
317 | printf("%B\n", l_apic[LVT_PCINT] & 0xff); |
317 | printf("%B\n", l_apic[LVT_PCINT] & 0xff); |
318 | } |
318 | } |
319 | #endif |
319 | #endif |
320 | } |
320 | } |
321 | 321 | ||
322 | void l_apic_timer_interrupt(__u8 n, __u32 stack[]) |
322 | void l_apic_timer_interrupt(__u8 n, __native stack[]) |
323 | { |
323 | { |
324 | l_apic_eoi(); |
324 | l_apic_eoi(); |
325 | clock(); |
325 | clock(); |
326 | } |
326 | } |
327 | 327 |