On Wed, Feb 14, 2018 at 11:11:46AM -0700, Trammell Hudson wrote:
> When cross compiling inteltool with musl-libc the <sys/io.h> header
> is not included due to this test in inteltool.h:
> 
> #if defined(__GLIBC__)
> #include <sys/io.h>
> #endif

We should provide our own I/O space inlines.  ISTR we do for nvramtool,
superiotool, and flashrom.

For instance, NetBSD libc will not expose these inlines to userland.

This is to say nothing of the NetBSD x86 I/O space write inlines having
reversed argument order compared to their glibc counterparts.

        Jonathan Kollasch

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to