Last change
on this file since 144 was
134,
checked in by kane, 14 years ago
|
add multi write buffer in cc_xcache_v4
|
File size:
367 bytes
|
Line | |
---|
1 | #include "irq.h" |
---|
2 | #include "system.h" |
---|
3 | #include "stdio.h" |
---|
4 | |
---|
5 | #include "../../segmentation.h" |
---|
6 | #include "soclib/xicu.h" |
---|
7 | |
---|
8 | void irq_handler (int irq) |
---|
9 | { |
---|
10 | const int cpu = procnum(); |
---|
11 | |
---|
12 | printf("Timer wrapped at cycle %d on cpu %d\n", cpu_cycles(), cpu); |
---|
13 | /* printf("Timer wrapped on cpu %d\n", cpu); */ |
---|
14 | |
---|
15 | soclib_io_get(base(XICU), |
---|
16 | XICU_REG(XICU_PTI_ACK, cpu)); |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.