#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "console.h"
#include "cpu.h"
#include "device.h"
#include "devices.h"
#include "diskimage.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "of.h"
Go to the source code of this file.
Macros | |
#define | OF_C |
Functions | |
OF_SERVICE (call_method_2_2) | |
OF_SERVICE (call_method_3_4) | |
OF_SERVICE (call_method_5_2) | |
OF_SERVICE (call_method_6_1) | |
OF_SERVICE (call_method_6_2) | |
OF_SERVICE (child) | |
OF_SERVICE (claim) | |
OF_SERVICE (exit) | |
OF_SERVICE (finddevice) | |
OF_SERVICE (getprop) | |
OF_SERVICE (getproplen) | |
OF_SERVICE (instance_to_package) | |
OF_SERVICE (interpret_1) | |
OF_SERVICE (interpret_2) | |
OF_SERVICE (package_to_path) | |
OF_SERVICE (parent) | |
OF_SERVICE (peer) | |
OF_SERVICE (open) | |
OF_SERVICE (read) | |
OF_SERVICE (write) | |
void | of_emul_init_isa (struct machine *machine) |
void | of_emul_init_adb (struct machine *machine) |
void | of_emul_init_zs (struct machine *machine) |
void | of_emul_init_uninorth (struct machine *machine) |
struct of_data * | of_emul_init (struct machine *machine, struct vfb_data *vfb_data, uint64_t fb_addr, int fb_xsize, int fb_ysize) |
int | of_emul (struct cpu *cpu) |
Variables | |
int | quiet_mode |
int | verbose |
int of_emul | ( | struct cpu * | cpu | ) |
Definition at line 1078 of file of.cc.
References machine::arch, ARCH_ARM, ARCH_PPC, cpu::arm, cpu::cd, fatal(), ppc_cpu::gpr, load_32bit_word(), cpu::machine, machine::md, machine::of_data, cpu::ppc, and arm_cpu::r.
void of_emul_init_adb | ( | struct machine * | machine | ) |
Definition at line 743 of file of.cc.
References CHECK_ALLOCATION, machine::md, and machine::of_data.
Referenced by MACHINE_SETUP().
void of_emul_init_isa | ( | struct machine * | machine | ) |
Definition at line 718 of file of.cc.
References machine::md, and machine::of_data.
void of_emul_init_uninorth | ( | struct machine * | machine | ) |
Definition at line 839 of file of.cc.
References ic, machine::md, and machine::of_data.
Referenced by MACHINE_SETUP().
void of_emul_init_zs | ( | struct machine * | machine | ) |
Definition at line 775 of file of.cc.
References CHECK_ALLOCATION, machine::md, and machine::of_data.
Referenced by MACHINE_SETUP().
OF_SERVICE | ( | call_method_5_2 | ) |
Definition at line 166 of file of.cc.
References CACHE_DATA, fatal(), cpu::machine, machine::md, cpu::mem, MEM_READ, cpu::memory_rw, NO_EXCEPTIONS, machine::of_data, vfb_data::rgb_palette, vfb_data::update_x1, vfb_data::update_x2, vfb_data::update_y1, vfb_data::update_y2, vfb_data::xsize, and vfb_data::ysize.
OF_SERVICE | ( | child | ) |
Definition at line 204 of file of.cc.
References cpu::machine, machine::md, machine::of_data, and store_32bit_word().
OF_SERVICE | ( | claim | ) |
Definition at line 214 of file of.cc.
References fatal(), and store_32bit_word().
OF_SERVICE | ( | exit | ) |
Definition at line 228 of file of.cc.
References cpu::running.
OF_SERVICE | ( | getprop | ) |
Definition at line 243 of file of.cc.
References CACHE_DATA, fatal(), cpu::machine, machine::md, cpu::mem, MEM_WRITE, cpu::memory_rw, NO_EXCEPTIONS, machine::of_data, and store_32bit_word().
OF_SERVICE | ( | getproplen | ) |
Definition at line 289 of file of.cc.
References fatal(), cpu::machine, machine::md, machine::of_data, and store_32bit_word().
OF_SERVICE | ( | instance_to_package | ) |
Definition at line 315 of file of.cc.
References store_32bit_word().
OF_SERVICE | ( | interpret_2 | ) |
Definition at line 335 of file of.cc.
References fatal(), and store_32bit_word().
OF_SERVICE | ( | parent | ) |
Definition at line 365 of file of.cc.
References cpu::machine, machine::md, machine::of_data, and store_32bit_word().
OF_SERVICE | ( | peer | ) |
Definition at line 375 of file of.cc.
References fatal(), cpu::machine, machine::md, machine::of_data, and store_32bit_word().
OF_SERVICE | ( | open | ) |
Definition at line 412 of file of.cc.
References CACHE_DATA, fatal(), cpu::mem, MEM_READ, cpu::memory_rw, and NO_EXCEPTIONS.
OF_SERVICE | ( | read | ) |
Definition at line 444 of file of.cc.
References CACHE_DATA, console_readchar(), fatal(), cpu::machine, machine::main_console_handle, cpu::mem, MEM_WRITE, cpu::memory_rw, NO_EXCEPTIONS, and store_32bit_word().
OF_SERVICE | ( | write | ) |
Definition at line 468 of file of.cc.
References CACHE_DATA, console_putchar(), fatal(), cpu::machine, machine::main_console_handle, cpu::mem, MEM_READ, cpu::memory_rw, NO_EXCEPTIONS, and store_32bit_word().