summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/cpu.h
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-02-09 06:24:43 +0000
committerneel <neel@FreeBSD.org>2010-02-09 06:24:43 +0000
commit91212ae23c60e92beb6a2bf31304fe0f44d84cee (patch)
tree6b8fc2551b36316f7e2c7437b3ef3de98dbabfb2 /sys/mips/include/cpu.h
parent764ce56acec6e1b162434305a36821de3b6e3ded (diff)
downloadFreeBSD-src-91212ae23c60e92beb6a2bf31304fe0f44d84cee.zip
FreeBSD-src-91212ae23c60e92beb6a2bf31304fe0f44d84cee.tar.gz
SMP support for the mips port.
The platform that supports SMP currently is a SWARM with a dual-core Sibyte processor. The kernel config file to use is SWARM_SMP. Reviewed by: imp, rrs
Diffstat (limited to 'sys/mips/include/cpu.h')
-rw-r--r--sys/mips/include/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/include/cpu.h b/sys/mips/include/cpu.h
index c802bee..5a1cb9d 100644
--- a/sys/mips/include/cpu.h
+++ b/sys/mips/include/cpu.h
@@ -122,6 +122,8 @@
#define SOFT_INT_MASK (SOFT_INT_MASK_0 | SOFT_INT_MASK_1)
#define HW_INT_MASK (ALL_INT_MASK & ~SOFT_INT_MASK)
+#define soft_int_mask(softintr) (1 << ((softintr) + 8))
+#define hard_int_mask(hardintr) (1 << ((hardintr) + 10))
/*
* The bits in the cause register.
OpenPOWER on IntegriCloud