Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2012 13:32:44 +0800
From:      Wei Xu <wei.xu.prc@gmail.com>
To:        freebsd-xen@freebsd.org
Subject:   Compiling error for amd64 on FreeBSD9.0 with XENHVM when include xen console driver.
Message-ID:  <CAH=9XOZBUxnChw9fUc92j7YqCaPaz2emvGHmsaA7TJWyjo1eZQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All,
I'm trying to compile new kernel with Xen Console driver on AMD 64
platform, it's not included by default,
I got compile error like this , I checked the code and i386 has the
pc_ipi_to_irq but amd64 doesn't,
look like it hasn't been experience with amd64, is there anyone know
whether it can work? thanks.


/usr/src/sys/xen/evtchn/evtchn.c: In function 'ipi_pcpu':
/usr/src/sys/xen/evtchn/evtchn.c:236: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irq':
/usr/src/sys/xen/evtchn/evtchn.c:347: error: 'struct pcpu' has no member
named 'pc_virq_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c:360: error: 'struct pcpu' has no member
named 'pc_virq_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_ipi_to_irq':
/usr/src/sys/xen/evtchn/evtchn.c:383: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c:394: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c: In function 'unbind_from_irq':
/usr/src/sys/xen/evtchn/evtchn.c:424: error: 'struct pcpu' has no member
named 'pc_virq_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c:428: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c: In function 'irq_resume':
/usr/src/sys/xen/evtchn/evtchn.c:1012: error: 'struct pcpu' has no member
named 'pc_virq_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c:1034: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c: In function 'evtchn_init':
/usr/src/sys/xen/evtchn/evtchn.c:1067: error: 'struct pcpu' has no member
named 'pc_virq_to_irq'
/usr/src/sys/xen/evtchn/evtchn.c:1069: error: 'struct pcpu' has no member
named 'pc_ipi_to_irq

Regards,
Wei



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH=9XOZBUxnChw9fUc92j7YqCaPaz2emvGHmsaA7TJWyjo1eZQ>