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

spapr_nvdimm.h (791B)


      1/*
      2 * QEMU PowerPC PAPR SCM backend definitions
      3 *
      4 * Copyright (c) 2020, IBM Corporation.
      5 *
      6 * This code is licensed under the GPL version 2 or later. See the
      7 * COPYING file in the top-level directory.
      8 */
      9
     10#ifndef HW_SPAPR_NVDIMM_H
     11#define HW_SPAPR_NVDIMM_H
     12
     13#include "hw/mem/nvdimm.h"
     14
     15typedef struct SpaprDrc SpaprDrc;
     16typedef struct SpaprMachineState SpaprMachineState;
     17
     18int spapr_pmem_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr,
     19                           void *fdt, int *fdt_start_offset, Error **errp);
     20void spapr_dt_persistent_memory(SpaprMachineState *spapr, void *fdt);
     21bool spapr_nvdimm_validate(HotplugHandler *hotplug_dev, NVDIMMDevice *nvdimm,
     22                           uint64_t size, Error **errp);
     23void spapr_add_nvdimm(DeviceState *dev, uint64_t slot);
     24
     25#endif