Deleted Added
full compact
locore.s (13014) locore.s (13081)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)locore.s 7.3 (Berkeley) 5/13/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)locore.s 7.3 (Berkeley) 5/13/91
37 * $Id: locore.s,v 1.57 1995/12/24 08:10:39 davidg Exp $
37 * $Id: locore.s,v 1.58 1995/12/25 14:40:49 davidg Exp $
38 */
39
40/*
41 * locore.s: FreeBSD machine support for the Intel 386
42 * originally from: locore.s, by William F. Jolitz
43 *
44 * Substantially rewritten by David Greenman, Rod Grimes,
45 * Bruce Evans, Wolfgang Solfrank, and many others.

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

326 xorl %ecx,%eax
327 andl $PSL_AC,%eax
328 pushl %ecx
329 popfl
330
331 testl %eax,%eax
332 jnz 1f
333 movl $CPU_386,_cpu-KERNBASE
38 */
39
40/*
41 * locore.s: FreeBSD machine support for the Intel 386
42 * originally from: locore.s, by William F. Jolitz
43 *
44 * Substantially rewritten by David Greenman, Rod Grimes,
45 * Bruce Evans, Wolfgang Solfrank, and many others.

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

326 xorl %ecx,%eax
327 andl $PSL_AC,%eax
328 pushl %ecx
329 popfl
330
331 testl %eax,%eax
332 jnz 1f
333 movl $CPU_386,_cpu-KERNBASE
334 jmp 2f
334 jmp 3f
335
3361: /* Try to toggle identification flag; does not exist on early 486s. */
337 pushfl
338 popl %eax
339 movl %eax,%ecx
340 xorl $PSL_ID,%eax
341 pushl %eax
342 popfl

--- 463 unchanged lines hidden ---
335
3361: /* Try to toggle identification flag; does not exist on early 486s. */
337 pushfl
338 popl %eax
339 movl %eax,%ecx
340 xorl $PSL_ID,%eax
341 pushl %eax
342 popfl

--- 463 unchanged lines hidden ---