init_main.c (f6cebd731020cb671ba97061c783170bad406431) | init_main.c (5215b1872feaad7ecf7cb1234749ecf04071deef) |
---|---|
1/* 2 * Copyright (c) 1995 Terrence R. Lambert 3 * All rights reserved. 4 * 5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * (c) UNIX System Laboratories, Inc. 8 * All or some portions of this file are derived from material licensed --- 365 unchanged lines hidden (view full) --- 374 kg->kg_pri_class = PRI_TIMESHARE; 375 kg->kg_user_pri = PUSER; 376 td->td_priority = PVM; 377 td->td_base_pri = PUSER; 378 td->td_kse = ke; /* XXXKSE */ 379 ke->ke_oncpu = 0; 380 ke->ke_state = KES_THREAD; 381 ke->ke_thread = td; | 1/* 2 * Copyright (c) 1995 Terrence R. Lambert 3 * All rights reserved. 4 * 5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * (c) UNIX System Laboratories, Inc. 8 * All or some portions of this file are derived from material licensed --- 365 unchanged lines hidden (view full) --- 374 kg->kg_pri_class = PRI_TIMESHARE; 375 kg->kg_user_pri = PUSER; 376 td->td_priority = PVM; 377 td->td_base_pri = PUSER; 378 td->td_kse = ke; /* XXXKSE */ 379 ke->ke_oncpu = 0; 380 ke->ke_state = KES_THREAD; 381 ke->ke_thread = td; |
382 ke->ke_owner = td; | |
383 p->p_peers = 0; 384 p->p_leader = p; 385 386 387 bcopy("swapper", p->p_comm, sizeof ("swapper")); 388 389 callout_init(&p->p_itcallout, 0); 390 callout_init(&td->td_slpcallout, 1); --- 330 unchanged lines hidden --- | 382 p->p_peers = 0; 383 p->p_leader = p; 384 385 386 bcopy("swapper", p->p_comm, sizeof ("swapper")); 387 388 callout_init(&p->p_itcallout, 0); 389 callout_init(&td->td_slpcallout, 1); --- 330 unchanged lines hidden --- |