1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 *
| 1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 *
|
9 * $Id: smp.h,v 1.5 1997/05/03 18:05:31 fsmp Exp $
| 9 * $Id: smp.h,v 1.6 1997/05/05 22:56:37 fsmp Exp $
|
10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef KERNEL 17 18#include "opt_smp.h" 19
| 10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef KERNEL 17 18#include "opt_smp.h" 19
|
| 20#if defined(SMP) && !defined(APIC_IO) 21# error APIC_IO required for SMP, add "options APIC_IO" to your config file. 22#endif /* SMP && NCPU */ 23
|
20#if defined(SMP) && !defined(NCPU) 21# define NCPU 2 22#endif /* SMP && NCPU */ 23 24#if defined(SMP) || defined(APIC_IO) 25 26/* global data in mpboot.s */ 27extern int bootMP_size;
--- 107 unchanged lines hidden --- | 24#if defined(SMP) && !defined(NCPU) 25# define NCPU 2 26#endif /* SMP && NCPU */ 27 28#if defined(SMP) || defined(APIC_IO) 29 30/* global data in mpboot.s */ 31extern int bootMP_size;
--- 107 unchanged lines hidden --- |