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

hwaddr.h (537B)


      1/* Define hwaddr if it exists.  */
      2
      3#ifndef HWADDR_H
      4#define HWADDR_H
      5
      6
      7#define HWADDR_BITS 64
      8/* hwaddr is the type of a physical address (its size can
      9   be different from 'target_ulong').  */
     10
     11typedef uint64_t hwaddr;
     12#define HWADDR_MAX UINT64_MAX
     13#define TARGET_FMT_plx "%016" PRIx64
     14#define HWADDR_PRId PRId64
     15#define HWADDR_PRIi PRIi64
     16#define HWADDR_PRIo PRIo64
     17#define HWADDR_PRIu PRIu64
     18#define HWADDR_PRIx PRIx64
     19#define HWADDR_PRIX PRIX64
     20
     21typedef struct MemMapEntry {
     22    hwaddr base;
     23    hwaddr size;
     24} MemMapEntry;
     25
     26#endif