> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 19:59:46  up   7:05,  2 users,  load average: 1.20, 1.04, 0.81
This commit is contained in:
tracer-ysyx 2024-03-20 19:59:46 +08:00 committed by xinyangli
parent 8e0d229f49
commit ee8bd50401
7 changed files with 9 additions and 5 deletions

View file

@ -16,7 +16,6 @@
#ifndef __DEBUG_H__
#define __DEBUG_H__
#include <common.h>
#include <stdio.h>
#include <utils.h>

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,10 @@
#include "debug.h"
#include "macro.h"
#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;