X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fasm-mips%2Fqemu.h;h=487ced4a40de1004729bd68d9a063f107c4bb94a;hb=d020c36685a35f66be89700e911c7d77a67bdc43;hp=905c39585903924d6c3e034e16ee28b634e589a9;hpb=0481990b758628e12f4b0a9e15094e70cefc7cd1;p=cascardo%2Flinux.git diff --git a/include/asm-mips/qemu.h b/include/asm-mips/qemu.h index 905c39585903..487ced4a40de 100644 --- a/include/asm-mips/qemu.h +++ b/include/asm-mips/qemu.h @@ -12,7 +12,7 @@ * Interrupt numbers */ #define Q_PIC_IRQ_BASE 0 -#define Q_COUNT_COMPARE_IRQ 16 +#define Q_COUNT_COMPARE_IRQ 23 /* * Qemu clock rate. Unlike on real MIPS this has no relation to the @@ -21,4 +21,10 @@ */ #define QEMU_C0_COUNTER_CLOCK 100000000 +/* + * Magic qemu system control location. + */ +#define QEMU_RESTART_REG 0xBFBF0000 +#define QEMU_HALT_REG 0xBFBF0004 + #endif /* __ASM_QEMU_H */