Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 GC dead code.



details:   https://anonhg.NetBSD.org/src/rev/9ae9a315ae7e
branches:  sommerfeld_i386mp_1
changeset: 482408:9ae9a315ae7e
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun May 27 17:11:18 2001 +0000

description:
GC dead code.

diffstat:

 sys/arch/i386/i386/mptramp.s |  19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diffs (33 lines):

diff -r 7190e1188f60 -r 9ae9a315ae7e sys/arch/i386/i386/mptramp.s
--- a/sys/arch/i386/i386/mptramp.s      Sun May 27 14:19:11 2001 +0000
+++ b/sys/arch/i386/i386/mptramp.s      Sun May 27 17:11:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mptramp.s,v 1.1.2.4 2001/01/07 18:18:44 sommerfeld Exp $       */
+/*     $NetBSD: mptramp.s,v 1.1.2.5 2001/05/27 17:11:18 sommerfeld Exp $       */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -158,23 +158,6 @@
 #endif
 
        HALT(0x1)
-#if 0
-       /* 
-        * use cpuid
-        */
-       xorl    %eax,%eax
-       cpuid
-       movl    %eax,RELOC(cpuid_level)
-       movl    %ebx,RELOC(cpu_vendor)  # store vendor string
-       movl    %edx,RELOC(cpu_vendor)+4
-       movl    %ecx,RELOC(cpu_vendor)+8
-       movl    $0,  RELOC(cpu_vendor)+12
-       movl    $1,%eax
-       cpuid
-       movl    %eax,RELOC(cpu_id)      # store cpu_id and features
-       movl    %edx,RELOC(cpu_feature)
-       HALT(0x2)
-#endif
        /* First, reset the PSL. */
        pushl   $PSL_MBO
        popfl



Home | Main Index | Thread Index | Old Index