mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
e3e7994d53
Tag config space fields as having virtio endian-ness. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
25 lines
513 B
C
25 lines
513 B
C
/*
|
|
* Copyright (C) ST-Ericsson AB 2012
|
|
* Author: Sjur Brændeland <sjur.brandeland@stericsson.com>
|
|
*
|
|
* This header is BSD licensed so
|
|
* anyone can use the definitions to implement compatible remote processors
|
|
*/
|
|
|
|
#ifndef VIRTIO_CAIF_H
|
|
#define VIRTIO_CAIF_H
|
|
|
|
#include <linux/types.h>
|
|
struct virtio_caif_transf_config {
|
|
__virtio16 headroom;
|
|
__virtio16 tailroom;
|
|
__virtio32 mtu;
|
|
u8 reserved[4];
|
|
};
|
|
|
|
struct virtio_caif_config {
|
|
struct virtio_caif_transf_config uplink, downlink;
|
|
u8 reserved[8];
|
|
};
|
|
#endif
|