NetBSD Problem Report #39714
From www@NetBSD.org Wed Oct 8 08:44:03 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id DE1F363BA54
for <gnats-bugs@gnats.netbsd.org>; Wed, 8 Oct 2008 08:44:03 +0000 (UTC)
Message-Id: <20081008084403.ACC6163B88A@narn.NetBSD.org>
Date: Wed, 8 Oct 2008 08:44:03 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Prototype dumpconf in header sys/arch/x86/include/cpu.h
X-Send-Pr-Version: www-1.0
>Number: 39714
>Category: kern
>Synopsis: Prototype dumpconf in header sys/arch/x86/include/cpu.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 08 08:45:00 +0000 2008
>Originator: Henning Petersen
>Release: Netbsd-current
>Organization:
>Environment:
>Description:
Function dumpconf in port-i386 and port-amd64 is now cpu_dumpconf.
>How-To-Repeat:
>Fix:
--- sys/arch/x86/include/cpu.h 30 May 2008 11:03:29 -0000 1.7
+++ sys/arch/x86/include/cpu.h 8 Oct 2008 08:06:56 -0000
@@ -318,13 +318,14 @@
#define cpu_idle() (*x86_cpu_idle)()
/* machdep.c */
-void dumpconf(void);
+#ifdef i386
void cpu_reset(void);
void i386_proc0_tss_ldt_init(void);
-void dumpconf(void);
+#else
void cpu_reset(void);
void x86_64_proc0_tss_ldt_init(void);
void x86_64_init_pcb_tss_ldt(struct cpu_info *);
+#endif
/* longrun.c */
u_int tmx86_get_longrun_mode(void);
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.