Compiling error for amd64 on FreeBSD9.0 with XENHVM when include xen console driver.

Wei Xu wei.xu.prc at gmail.com
Wed Aug 1 05:32:46 UTC 2012


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


More information about the freebsd-xen mailing list