cpu_machdep.c (43970) | cpu_machdep.c (44510) |
---|---|
1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 | 1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 |
38 * $Id: machdep.c,v 1.325 1999/02/11 07:53:28 msmith Exp $ | 38 * $Id: machdep.c,v 1.326 1999/02/13 17:45:15 bde Exp $ |
39 */ 40 41#include "apm.h" 42#include "ether.h" 43#include "npx.h" 44#include "opt_atalk.h" 45#include "opt_cpu.h" 46#include "opt_ddb.h" --- 379 unchanged lines hidden (view full) --- 426 mb_map->system_map = 1; 427 } 428 429 /* 430 * Initialize callouts 431 */ 432 SLIST_INIT(&callfree); 433 for (i = 0; i < ncallout; i++) { | 39 */ 40 41#include "apm.h" 42#include "ether.h" 43#include "npx.h" 44#include "opt_atalk.h" 45#include "opt_cpu.h" 46#include "opt_ddb.h" --- 379 unchanged lines hidden (view full) --- 426 mb_map->system_map = 1; 427 } 428 429 /* 430 * Initialize callouts 431 */ 432 SLIST_INIT(&callfree); 433 for (i = 0; i < ncallout; i++) { |
434 callout_init(&callout[i]); 435 callout[i].c_flags = CALLOUT_LOCAL_ALLOC; |
|
434 SLIST_INSERT_HEAD(&callfree, &callout[i], c_links.sle); 435 } 436 437 for (i = 0; i < callwheelsize; i++) { 438 TAILQ_INIT(&callwheel[i]); 439 } 440 441#if defined(USERCONFIG) --- 1493 unchanged lines hidden --- | 436 SLIST_INSERT_HEAD(&callfree, &callout[i], c_links.sle); 437 } 438 439 for (i = 0; i < callwheelsize; i++) { 440 TAILQ_INIT(&callwheel[i]); 441 } 442 443#if defined(USERCONFIG) --- 1493 unchanged lines hidden --- |