#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cpu.h"#include "device.h"#include "machine.h"#include "memory.h"#include "misc.h"Go to the source code of this file.
Classes | |
| struct | hammerhead_data |
Macros | |
| #define | DEV_HAMMERHEAD_LENGTH 4 |
Functions | |
| void | ppc_pc_to_pointers (struct cpu *) |
| void | ppc32_pc_to_pointers (struct cpu *) |
| DEVICE_ACCESS (hammerhead) | |
| DEVINIT (hammerhead) | |
| #define DEV_HAMMERHEAD_LENGTH 4 |
Definition at line 47 of file dev_hammerhead.cc.
| DEVICE_ACCESS | ( | hammerhead | ) |
Definition at line 54 of file dev_hammerhead.cc.
References cpu::cpu_id, machine::cpus, data, debug, fatal(), cpu::is_32bit, cpu::machine, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), cpu::pc, ppc32_pc_to_pointers(), ppc_pc_to_pointers(), and cpu::running.
| DEVINIT | ( | hammerhead | ) |
Definition at line 90 of file dev_hammerhead.cc.
References devinit::addr, CHECK_ALLOCATION, DEV_HAMMERHEAD_LENGTH, DM_DEFAULT, devinit::machine, machine::memory, memory_device_register(), and devinit::name.
| void ppc32_pc_to_pointers | ( | struct cpu * | ) |
Referenced by DEVICE_ACCESS().
| void ppc_pc_to_pointers | ( | struct cpu * | ) |
Referenced by DEVICE_ACCESS().
1.8.17