Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Remove cpu_vendorname (unused). It is r...
details: https://anonhg.NetBSD.org/src/rev/1d0f2ef6027c
branches: trunk
changeset: 341795:1d0f2ef6027c
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Nov 22 14:06:08 2015 +0000
description:
Remove cpu_vendorname (unused). It is retrieved later in identcpu.c.
diffstat:
sys/arch/amd64/amd64/locore.S | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diffs (40 lines):
diff -r 8a33aad9f128 -r 1d0f2ef6027c sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Sun Nov 22 13:41:24 2015 +0000
+++ b/sys/arch/amd64/amd64/locore.S Sun Nov 22 14:06:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.81 2015/11/22 10:18:59 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.82 2015/11/22 14:06:08 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -247,7 +247,6 @@
END(lapic_isr)
#endif
- .globl _C_LABEL(cpu_vendorname)
.globl _C_LABEL(cpuid_level)
.globl _C_LABEL(esym)
.globl _C_LABEL(eblob)
@@ -267,10 +266,6 @@
LABEL(cpuid_level) .long -1 # max. level accepted by 'cpuid'
# instruction
END(cpuid_level)
- .type _C_LABEL(cpu_vendorname), @object
-LABEL(cpu_vendorname) .space 16 # vendor string returned by `cpuid'
- # instruction
-END(cpu_vendorname)
.type _C_LABEL(esym), @object
LABEL(esym) .quad 0 # ptr to end of syms
END(esym)
@@ -472,11 +467,6 @@
xorl %eax,%eax
cpuid
movl %eax,RELOC(cpuid_level)
- movl $RELOC(cpu_vendorname),%ebp
- movl %ebx,(%ebp)
- movl %edx,4(%ebp)
- movl %ecx,8(%ebp)
- movl $0, 12(%ebp)
/*
* Finished with old stack; load new %esp now instead of later so we
Home |
Main Index |
Thread Index |
Old Index