diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-11 21:45:32 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-11 21:45:32 +0000 |
commit | f86bad4efd003c634555545a0f70a36406d90a16 (patch) | |
tree | 2fa8278055f297b53abf744c3ba0196fb34a59a3 /sys/arch/m88k/include/cmmu.h | |
parent | 4aa16b6373f64a797a481dbfe9079dbe74597f4f (diff) |
Work in progress SMP code; mvme88k boards can spin up secondary CPUs,
kernel boots single user. Still a lot of polishing and bugfixing to do.
Diffstat (limited to 'sys/arch/m88k/include/cmmu.h')
-rw-r--r-- | sys/arch/m88k/include/cmmu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/cmmu.h b/sys/arch/m88k/include/cmmu.h index c23a2f24b38..4a09689093a 100644 --- a/sys/arch/m88k/include/cmmu.h +++ b/sys/arch/m88k/include/cmmu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmmu.h,v 1.15 2005/12/04 15:00:25 miod Exp $ */ +/* $OpenBSD: cmmu.h,v 1.16 2005/12/11 21:45:28 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1992 Carnegie Mellon University @@ -67,6 +67,9 @@ struct cmmu_p { void (*flush_data_cache)(cpuid_t, paddr_t, psize_t); int (*dma_cachectl)(pmap_t, vaddr_t, vsize_t, int); int (*dma_cachectl_pa)(paddr_t, psize_t, int); +#ifdef MULTIPROCESSOR + void (*initialize_cpu)(cpuid_t); +#endif }; extern struct cmmu_p *cmmu; @@ -84,6 +87,7 @@ extern struct cmmu_p *cmmu; #define cmmu_flush_data_cache(a, b, c) (cmmu->flush_data_cache)(a, b, c) #define dma_cachectl(a, b, c, d) (cmmu->dma_cachectl)(a, b, c, d) #define dma_cachectl_pa(a, b, c) (cmmu->dma_cachectl_pa)(a, b, c) +#define cmmu_initialize_cpu(a) (cmmu->initialize_cpu)(a) /* * dma_cachectl() modes |