Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/include Move struct xen_netinfo into include/xe...



details:   https://anonhg.NetBSD.org/src/rev/0384df76de5d
branches:  trunk
changeset: 566068:0384df76de5d
user:      cl <cl%NetBSD.org@localhost>
date:      Mon Apr 26 23:54:42 2004 +0000

description:
Move struct xen_netinfo into include/xen.h so that xen12load compiles again.

diffstat:

 sys/arch/xen/include/cpu.h |  8 +-------
 sys/arch/xen/include/xen.h |  8 +++++++-
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r a1803db30839 -r 0384df76de5d sys/arch/xen/include/cpu.h
--- a/sys/arch/xen/include/cpu.h        Mon Apr 26 23:46:22 2004 +0000
+++ b/sys/arch/xen/include/cpu.h        Mon Apr 26 23:54:42 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.4 2004/04/26 22:05:05 cl Exp $       */
+/*     $NetBSD: cpu.h,v 1.5 2004/04/26 23:54:42 cl Exp $       */
 /*     NetBSD: cpu.h,v 1.113 2004/02/20 17:35:01 yamt Exp      */
 
 /*-
@@ -348,12 +348,6 @@
 extern int i386_has_sse;
 extern int i386_has_sse2;
 
-struct xen_netinfo {
-       uint32_t xi_ifno;
-       char *xi_root;
-       uint32_t xi_ip[5];
-};
-
 /* machdep.c */
 void   dumpconf(void);
 int    cpu_maxproc(void);
diff -r a1803db30839 -r 0384df76de5d sys/arch/xen/include/xen.h
--- a/sys/arch/xen/include/xen.h        Mon Apr 26 23:46:22 2004 +0000
+++ b/sys/arch/xen/include/xen.h        Mon Apr 26 23:54:42 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xen.h,v 1.4 2004/04/24 18:55:02 cl Exp $       */
+/*     $NetBSD: xen.h,v 1.5 2004/04/26 23:54:42 cl Exp $       */
 
 /*
  *
@@ -30,6 +30,12 @@
 
 #ifndef _LOCORE
 
+struct xen_netinfo {
+       uint32_t xi_ifno;
+       char *xi_root;
+       uint32_t xi_ip[5];
+};
+
 union xen_cmdline_parseinfo {
        char                    xcp_bootdev[16]; /* sizeof(dv_xname) */
        struct xen_netinfo      xcp_netinfo;



Home | Main Index | Thread Index | Old Index