![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
union | endian_buf |
struct | memory_instruction_info |
Functions | |
static struct memory_instruction_info * | match_instruction (uintptr_t insn) |
static int | fetch_16bit_instruction (uintptr_t vaddr, uintptr_t *insn, int *size) |
static int | fetch_32bit_instruction (uintptr_t vaddr, uintptr_t *insn, int *size) |
void | handle_misaligned (trapframe *tf) |
Variables | |
static struct memory_instruction_info | insn_info [] |
Definition at line 134 of file misaligned.c.
References EXTRACT_FIELD, and ins().
Referenced by handle_misaligned().
Definition at line 145 of file misaligned.c.
References EXTRACT_FIELD, and ins().
Referenced by handle_misaligned().
Definition at line 159 of file misaligned.c.
References addr, endian_buf::b, trapframe::badvaddr, endian_buf::d, trapframe::epc, fetch_16bit_instruction(), fetch_32bit_instruction(), trapframe::gpr, memory_instruction_info::is_fp, memory_instruction_info::is_load, match_instruction(), redirect_trap(), memory_instruction_info::reg_addition, memory_instruction_info::reg_mask, memory_instruction_info::reg_shift, memory_instruction_info::sign_extend, endian_buf::v, endian_buf::w, and memory_instruction_info::width.
Referenced by trap_handler().
|
static |
Definition at line 125 of file misaligned.c.
References ARRAY_SIZE, insn_info, mask, NULL, and memory_instruction_info::opcode.
Referenced by handle_misaligned().
|
static |
Definition at line 1 of file misaligned.c.
Referenced by match_instruction().