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

fw_cfg.h (383B)


      1/*
      2 * QEMU fw_cfg helpers (MIPS specific)
      3 *
      4 * Copyright (c) 2020 Huacai Chen
      5 *
      6 * SPDX-License-Identifier: MIT
      7 */
      8
      9#ifndef HW_MIPS_FW_CFG_H
     10#define HW_MIPS_FW_CFG_H
     11
     12#include "hw/boards.h"
     13#include "hw/nvram/fw_cfg.h"
     14
     15/* Data for BIOS to identify machine */
     16#define FW_CFG_MACHINE_VERSION  (FW_CFG_ARCH_LOCAL + 0)
     17#define FW_CFG_CPU_FREQ         (FW_CFG_ARCH_LOCAL + 1)
     18
     19#endif