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

ghes-stub.c (461B)


      1/*
      2 * Support for generating APEI tables and recording CPER for Guests:
      3 * stub functions.
      4 *
      5 * Copyright (c) 2021 Linaro, Ltd
      6 *
      7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
      8 * See the COPYING file in the top-level directory.
      9 */
     10
     11#include "qemu/osdep.h"
     12#include "hw/acpi/ghes.h"
     13
     14int acpi_ghes_record_errors(uint8_t source_id, uint64_t physical_address)
     15{
     16    return -1;
     17}
     18
     19bool acpi_ghes_present(void)
     20{
     21    return false;
     22}