> 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:
parent
8e0d229f49
commit
ee8bd50401
7 changed files with 9 additions and 5 deletions
|
@ -16,7 +16,6 @@
|
||||||
#ifndef __DEBUG_H__
|
#ifndef __DEBUG_H__
|
||||||
#define __DEBUG_H__
|
#define __DEBUG_H__
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the Mulan PSL v2 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
#include "utils.h"
|
#include <utils.h>
|
||||||
#include <cpu/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <cpu/decode.h>
|
#include <cpu/decode.h>
|
||||||
#include <cpu/difftest.h>
|
#include <cpu/difftest.h>
|
||||||
|
|
|
@ -13,12 +13,13 @@
|
||||||
* See the Mulan PSL v2 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
#include "common.h"
|
#include <common.h>
|
||||||
#include "local-include/reg.h"
|
#include "local-include/reg.h"
|
||||||
#include <cpu/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <cpu/ifetch.h>
|
#include <cpu/ifetch.h>
|
||||||
#include <cpu/decode.h>
|
#include <cpu/decode.h>
|
||||||
#include <ftrace.h>
|
#include <ftrace.h>
|
||||||
|
#include <utils.h>
|
||||||
|
|
||||||
#define R(i) gpr(i)
|
#define R(i) gpr(i)
|
||||||
#define Mr vaddr_read
|
#define Mr vaddr_read
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include <isa.h>
|
#include <isa.h>
|
||||||
#include <memory/paddr.h>
|
#include <memory/paddr.h>
|
||||||
|
#include <utils.h>
|
||||||
|
|
||||||
void init_rand();
|
void init_rand();
|
||||||
void init_log(const char *log_file);
|
void init_log(const char *log_file);
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
}
|
}
|
||||||
%{
|
%{
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
#include <utils.h>
|
||||||
#include <isa.h>
|
#include <isa.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#include "debug.h"
|
#include <debug.h>
|
||||||
#include "macro.h"
|
#include <macro.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <ftrace.h>
|
#include <ftrace.h>
|
||||||
|
#include <utils.h>
|
||||||
|
|
||||||
// Put this into another file
|
// Put this into another file
|
||||||
#ifdef CONFIG_FTRACE
|
#ifdef CONFIG_FTRACE
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
#include <utils.h>
|
||||||
|
|
||||||
extern uint64_t g_nr_guest_inst;
|
extern uint64_t g_nr_guest_inst;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue