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

qemu-print.h (608B)


      1/*
      2 * Print to stream or current monitor
      3 *
      4 * Copyright (C) 2019 Red Hat Inc.
      5 *
      6 * Authors:
      7 *  Markus Armbruster <armbru@redhat.com>,
      8 *
      9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
     10 * See the COPYING file in the top-level directory.
     11 */
     12
     13#ifndef QEMU_PRINT_H
     14#define QEMU_PRINT_H
     15
     16int qemu_vprintf(const char *fmt, va_list ap) GCC_FMT_ATTR(1, 0);
     17int qemu_printf(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
     18
     19int qemu_vfprintf(FILE *stream, const char *fmt, va_list ap)
     20    GCC_FMT_ATTR(2, 0);
     21int qemu_fprintf(FILE *stream, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
     22
     23#endif