| * linux/arch/parisc/kernel/pa7300lc.c |
| * - PA7300LC-specific functions |
| * Copyright (C) 2000 Philipp Rumpf */ |
| #include <linux/kernel.h> |
| /* CPU register indices */ |
| #define MIOC_STATUS 0xf040 |
| #define MIOC_CONTROL 0xf080 |
| /* this returns the HPA of the CPU it was called on */ |
| static void pa7300lc_lpmc(int code, struct pt_regs *regs) |
| printk(KERN_WARNING "LPMC on CPU %d\n", smp_processor_id()); |
| "MIOC_CONTROL %08x\n" "MIOC_STATUS %08x\n" |
| "MDERRADD %08x\n" "DMAERR %08x\n" |
| "DIOERR %08x\n" "HIDMAMEM %08x\n", |
| gsc_readl(hpa+MIOC_CONTROL), gsc_readl(hpa+MIOC_STATUS), |
| gsc_readl(hpa+MDERRADD), gsc_readl(hpa+DMAERR), |
| gsc_readl(hpa+DIOERR), gsc_readl(hpa+HIDMAMEM)); |
| cpu_lpmc = pa7300lc_lpmc; |