Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 09:41:43 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r212143 - in projects/sv/sys: kern sys
Message-ID:  <201009020941.o829fh50098559@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Thu Sep  2 09:41:43 2010
New Revision: 212143
URL: http://svn.freebsd.org/changeset/base/212143

Log:
  Make dumppcb and dumptid nomore static and remove an unuseful comment
  on the dumping externalization.

Modified:
  projects/sv/sys/kern/kern_shutdown.c
  projects/sv/sys/sys/conf.h

Modified: projects/sv/sys/kern/kern_shutdown.c
==============================================================================
--- projects/sv/sys/kern/kern_shutdown.c	Thu Sep  2 09:33:48 2010	(r212142)
+++ projects/sv/sys/kern/kern_shutdown.c	Thu Sep  2 09:41:43 2010	(r212143)
@@ -127,8 +127,8 @@ int rebooting;				/* system is rebooting
 static struct dumperinfo dumper;	/* our selected dumper */
 
 /* Context information for dump-debuggers. */
-static struct pcb dumppcb;		/* Registers. */
-static lwpid_t dumptid;			/* Thread ID. */
+struct pcb dumppcb;		/* Registers. */
+lwpid_t dumptid;		/* Thread ID. */
 
 static void boot(int) __dead2;
 static void poweroff_wait(void *, int);

Modified: projects/sv/sys/sys/conf.h
==============================================================================
--- projects/sv/sys/sys/conf.h	Thu Sep  2 09:33:48 2010	(r212142)
+++ projects/sv/sys/sys/conf.h	Thu Sep  2 09:41:43 2010	(r212143)
@@ -332,7 +332,10 @@ struct dumperinfo {
 int set_dumper(struct dumperinfo *);
 int dump_write(struct dumperinfo *, void *, vm_offset_t, off_t, size_t);
 void dumpsys(struct dumperinfo *);
-extern int dumping;		/* system is dumping */
+
+extern int dumping;
+extern struct pcb dumppcb;
+extern lwpid_t dumptid;
 
 #endif /* _KERNEL */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009020941.o829fh50098559>