#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "console.h"
#include "cpu.h"
#include "cpu_mips.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "net.h"
#include "thirdparty/yamon.h"
Go to the source code of this file.
Functions | |
void | yamon_machine_setup (struct machine *machine, uint64_t env) |
int | yamon_emul (struct cpu *cpu) |
int yamon_emul | ( | struct cpu * | cpu | ) |
Definition at line 139 of file yamon.cc.
References BE32_TO_HOST, cpu::byte_order, CACHE_DATA, cpu::cd, console_putchar(), console_readchar(), cpu_register_dump(), debug, EMUL_LITTLE_ENDIAN, machine::emulated_hz, fatal(), mips_cpu::gpr, LE32_TO_HOST, cpu::machine, machine::main_console_handle, cpu::mem, MEM_READ, MEM_WRITE, cpu::memory_rw, cpu::mips, MIPS_GPR_A0, MIPS_GPR_A1, MIPS_GPR_A2, MIPS_GPR_V0, NO_EXCEPTIONS, cpu::pc, cpu::running, SYSCON_BOARD_CPU_CLOCK_FREQ_ID, YAMON_EXIT_OFS, YAMON_FUNCTION_BASE, YAMON_GETCHAR_OFS, YAMON_PRINT_COUNT_OFS, and YAMON_SYSCON_READ_OFS.
Referenced by X().
void yamon_machine_setup | ( | struct machine * | machine, |
uint64_t | env | ||
) |
Definition at line 52 of file yamon.cc.
References add_environment_string_dual(), machine::cpus, machine::emulated_hz, net_generate_unique_mac(), and machine::physical_ram_in_mb.
Referenced by MACHINE_SETUP().