Browse Source

Add config.h includes directly to source files instead of relying on header chaining

This step is to ensure that removing config.h out of headers will not cause regressions.
pull/1184/head
Jerry Zhao 4 years ago
parent
commit
e1919d3b06
  1. 1
      fesvr/elfloader.cc
  2. 1
      fesvr/htif.cc
  3. 1
      fesvr/syscall.cc
  4. 1
      riscv/csrs.cc
  5. 1
      riscv/dts.cc
  6. 1
      riscv/execute.cc
  7. 1
      riscv/mmu.cc
  8. 1
      spike_dasm/spike-dasm.cc
  9. 1
      spike_main/spike-log-parser.cc
  10. 1
      spike_main/spike.cc

1
fesvr/elfloader.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "elf.h"
#include "memif.h"
#include "byteorder.h"

1
fesvr/htif.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "htif.h"
#include "rfb.h"
#include "elfloader.h"

1
fesvr/syscall.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "syscall.h"
#include "htif.h"
#include "byteorder.h"

1
riscv/csrs.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
// For std::any_of
#include <algorithm>

1
riscv/dts.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "dts.h"
#include "libfdt.h"
#include "platform.h"

1
riscv/execute.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "processor.h"
#include "mmu.h"
#include "disasm.h"

1
riscv/mmu.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "mmu.h"
#include "arith.h"
#include "simif.h"

1
spike_dasm/spike-dasm.cc

@ -6,6 +6,7 @@
// enclosed hexadecimal number, interpreted as a RISC-V
// instruction.
#include "config.h"
#include "disasm.h"
#include "extension.h"
#include <iostream>

1
spike_main/spike-log-parser.cc

@ -5,6 +5,7 @@
// in its inputs, then output the RISC-V instruction with the disassembly
// enclosed hexadecimal number.
#include "config.h"
#include <iostream>
#include <string>
#include <cstdint>

1
spike_main/spike.cc

@ -1,5 +1,6 @@
// See LICENSE for license details.
#include "config.h"
#include "cfg.h"
#include "sim.h"
#include "mmu.h"

Loading…
Cancel
Save