Deleted Added
full compact
machdep.c (122292) machdep.c (122295)
1/*-
1/*-
2 * Copyright (c) 2003 Peter Wemm.
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 *
9 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

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 * @(#)machdep.c 7.4 (Berkeley) 6/3/91
38 */
39
40#include <sys/cdefs.h>
3 * Copyright (c) 1992 Terrence R. Lambert.
4 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * William Jolitz.
9 *
10 * Redistribution and use in source and binary forms, with or without

--- 23 unchanged lines hidden (view full) ---

34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)machdep.c 7.4 (Berkeley) 6/3/91
39 */
40
41#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/sys/amd64/amd64/machdep.c 122292 2003-11-08 03:33:38Z peter $");
42__FBSDID("$FreeBSD: head/sys/amd64/amd64/machdep.c 122295 2003-11-08 04:37:54Z peter $");
42
43#include "opt_atalk.h"
44#include "opt_compat.h"
45#include "opt_cpu.h"
46#include "opt_ddb.h"
47#include "opt_inet.h"
48#include "opt_ipx.h"
49#include "opt_isa.h"

--- 1199 unchanged lines hidden (view full) ---

1249
1250 /* now running on new page tables, configured,and u/iom is accessible */
1251
1252 /* Map the message buffer. */
1253 for (off = 0; off < round_page(MSGBUF_SIZE); off += PAGE_SIZE)
1254 pmap_kenter((vm_offset_t)msgbufp + off, avail_end + off);
1255
1256 msgbufinit(msgbufp, MSGBUF_SIZE);
43
44#include "opt_atalk.h"
45#include "opt_compat.h"
46#include "opt_cpu.h"
47#include "opt_ddb.h"
48#include "opt_inet.h"
49#include "opt_ipx.h"
50#include "opt_isa.h"

--- 1199 unchanged lines hidden (view full) ---

1250
1251 /* now running on new page tables, configured,and u/iom is accessible */
1252
1253 /* Map the message buffer. */
1254 for (off = 0; off < round_page(MSGBUF_SIZE); off += PAGE_SIZE)
1255 pmap_kenter((vm_offset_t)msgbufp + off, avail_end + off);
1256
1257 msgbufinit(msgbufp, MSGBUF_SIZE);
1258 fpuinit();
1257
1258 /* transfer to user mode */
1259
1260 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL);
1261 _udatasel = GSEL(GUDATA_SEL, SEL_UPL);
1262 _ucode32sel = GSEL(GUCODE32_SEL, SEL_UPL);
1263
1264 /* setup proc 0's pcb */

--- 379 unchanged lines hidden ---
1259
1260 /* transfer to user mode */
1261
1262 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL);
1263 _udatasel = GSEL(GUDATA_SEL, SEL_UPL);
1264 _ucode32sel = GSEL(GUCODE32_SEL, SEL_UPL);
1265
1266 /* setup proc 0's pcb */

--- 379 unchanged lines hidden ---