Browse Source

support compilation with gcc 4.7

confprec
Andrew Waterman 13 years ago
parent
commit
614902fd20
  1. 2
      riscv/cachesim.h
  2. 1
      riscv/decode.h

2
riscv/cachesim.h

@ -22,7 +22,7 @@ class cache_sim_t
public:
cache_sim_t(size_t sets, size_t ways, size_t linesz, const char* name);
cache_sim_t(const cache_sim_t& rhs);
~cache_sim_t();
virtual ~cache_sim_t();
void access(uint64_t addr, size_t bytes, bool store);
void print_stats();

1
riscv/decode.h

@ -3,6 +3,7 @@
#define __STDC_LIMIT_MACROS
#include <stdint.h>
#include <string.h>
#include "pcr.h"
#include "config.h"

Loading…
Cancel
Save