[PATCH 3/3] i386: Port to RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 4 16:14:36 UTC 2020


On 31/01/2020 18:26, Jan Sommer wrote:

> diff --git a/freebsd/sys/sys/mbuf.h b/freebsd/sys/sys/mbuf.h
> index ba2e1873..95058e36 100644
> --- a/freebsd/sys/sys/mbuf.h
> +++ b/freebsd/sys/sys/mbuf.h
> @@ -348,6 +348,7 @@ struct mbuf_ext_pgs {
>   	vm_paddr_t	pa[MBUF_PEXT_MAX_PGS];	/* phys addrs of pages */
>   	char		hdr[MBUF_PEXT_HDR_LEN];	/* TLS header */
>   	struct ktls_session *tls;		/* TLS session */
> +#ifndef __rtems__
>   #if defined(__i386__) || \
>       (defined(__powerpc__) && !defined(__powerpc64__) && defined(BOOKE))
>   	/*
> @@ -356,6 +357,7 @@ struct mbuf_ext_pgs {
>   	 */
>   	uint32_t	pad;
>   #endif
> +#endif /* __rtems__ */

This change also affects other targets. Why is it necessary?



More information about the devel mailing list