cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

9p-iov-marshal.h (768B)


      1#ifndef QEMU_9P_IOV_MARSHAL_H
      2#define QEMU_9P_IOV_MARSHAL_H
      3
      4#include "9p-marshal.h"
      5
      6
      7ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset,
      8                  const void *src, size_t size);
      9ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset,
     10                           int bswap, const char *fmt, ...);
     11ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset,
     12                         int bswap, const char *fmt, ...);
     13
     14ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset,
     15                            int bswap, const char *fmt, va_list ap);
     16ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset,
     17                          int bswap, const char *fmt, va_list ap);
     18#endif