pa2.2: cleanup includes

This commit is contained in:
xinyangli 2024-03-20 20:07:28 +08:00
parent 9229e4318e
commit a62a132587
10 changed files with 32 additions and 27 deletions

View file

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
***************************************************************************************/
#include "utils.h"
#include <utils.h>
#include <cpu/cpu.h>
#include <cpu/decode.h>
#include <cpu/difftest.h>

View file

@ -13,12 +13,13 @@
* See the Mulan PSL v2 for more details.
***************************************************************************************/
#include "common.h"
#include <common.h>
#include "local-include/reg.h"
#include <cpu/cpu.h>
#include <cpu/ifetch.h>
#include <cpu/decode.h>
#include <ftrace.h>
#include <utils.h>
#define R(i) gpr(i)
#define Mr vaddr_read

View file

@ -15,6 +15,7 @@
#include <isa.h>
#include <memory/paddr.h>
#include <utils.h>
void init_rand();
void init_log(const char *log_file);

View file

@ -7,6 +7,7 @@
}
%{
#include <common.h>
#include <utils.h>
#include <isa.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,9 +1,8 @@
#include "debug.h"
#include "macro.h"
#include <assert.h>
#include <common.h>
#include <elf.h>
#include <ftrace.h>
#include <utils.h>
// Put this into another file
#ifdef CONFIG_FTRACE

View file

@ -14,6 +14,7 @@
***************************************************************************************/
#include <common.h>
#include <utils.h>
extern uint64_t g_nr_guest_inst;