#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "console.h"
#include "cpu.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "symbol.h"
#include "thirdparty/alpha_prom.h"
Go to the source code of this file.
Functions | |
void | alpha_palcode_name (uint32_t palcode, char *buf, size_t buflen) |
void | alpha_prom_call (struct cpu *cpu) |
void | alpha_palcode (struct cpu *cpu, uint32_t palcode) |
void alpha_palcode | ( | struct cpu * | cpu, |
uint32_t | palcode | ||
) |
Definition at line 163 of file cpu_alpha_palcode.cc.
References cpu::alpha, ALPHA_A0, ALPHA_A1, alpha_prom_call(), ALPHA_PSL_IPL_MASK, ALPHA_PSL_USERMODE, ALPHA_RA, ALPHA_V0, alpha_pcb::apcb_asn, alpha_pcb::apcb_cpc, alpha_pcb::apcb_decrsv0, alpha_pcb::apcb_decrsv1, alpha_pcb::apcb_flags, alpha_pcb::apcb_ksp, alpha_pcb::apcb_ptbr, alpha_pcb::apcb_unique, alpha_pcb::apcb_usp, cpu::cd, cpu::cpu_id, alpha_cpu::ctx, fatal(), I, INVALIDATE_ALL, cpu::invalidate_translation_caches, INVALIDATE_VADDR, alpha_cpu::kentry, alpha_cpu::kgp, load_32bit_word(), load_64bit_word(), alpha_cpu::mces, N_ALPHA_KENTRY, cpu::pc, alpha_cpu::pcb, alpha_cpu::ps, alpha_cpu::r, cpu::running, store_32bit_word(), store_64bit_word(), alpha_cpu::sysvalue, and alpha_cpu::vptptr.
Referenced by X().
void alpha_palcode_name | ( | uint32_t | palcode, |
char * | buf, | ||
size_t | buflen | ||
) |
Definition at line 55 of file cpu_alpha_palcode.cc.
Referenced by alpha_cpu_disassemble_instr().
void alpha_prom_call | ( | struct cpu * | cpu | ) |
Definition at line 101 of file cpu_alpha_palcode.cc.
References addr, cpu::alpha, ALPHA_A0, ALPHA_A1, ALPHA_A2, ALPHA_A3, ALPHA_RA, ALPHA_V0, machine::boot_kernel_filename, machine::boot_string_argument, CACHE_DATA, cpu::cd, console_putchar(), fatal(), cpu::machine, machine::main_console_handle, cpu::mem, MEM_READ, cpu::memory_rw, NO_EXCEPTIONS, cpu::pc, PROM_E_BOOTED_DEV, PROM_E_BOOTED_FILE, PROM_E_BOOTED_OSFLAGS, PROM_E_TTY_DEV, PROM_R_GETENV, PROM_R_PUTS, alpha_cpu::r, cpu::running, store_buf(), and strlen().
Referenced by alpha_palcode().