of.cc File Reference

Back to the index.

Macros | Functions | Variables
of.cc File Reference
#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
 

Macro Definition Documentation

◆ OF_C

#define OF_C

Definition at line 52 of file of.cc.

Function Documentation

◆ of_emul()

int of_emul ( struct cpu cpu)

◆ of_emul_init()

struct of_data* of_emul_init ( struct machine machine,
struct vfb_data vfb_data,
uint64_t  fb_addr,
int  fb_xsize,
int  fb_ysize 
)

Definition at line 940 of file of.cc.

References CHECK_ALLOCATION.

Referenced by MACHINE_SETUP().

◆ of_emul_init_adb()

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().

◆ of_emul_init_isa()

void of_emul_init_isa ( struct machine machine)

Definition at line 718 of file of.cc.

References machine::md, and machine::of_data.

◆ of_emul_init_uninorth()

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().

◆ of_emul_init_zs()

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() [1/20]

OF_SERVICE ( call_method_2_2  )

Definition at line 152 of file of.cc.

References fatal().

◆ OF_SERVICE() [2/20]

OF_SERVICE ( call_method_3_4  )

Definition at line 159 of file of.cc.

References fatal().

◆ OF_SERVICE() [3/20]

OF_SERVICE ( call_method_5_2  )

◆ OF_SERVICE() [4/20]

OF_SERVICE ( call_method_6_1  )

Definition at line 190 of file of.cc.

References fatal().

◆ OF_SERVICE() [5/20]

OF_SERVICE ( call_method_6_2  )

Definition at line 197 of file of.cc.

References fatal().

◆ OF_SERVICE() [6/20]

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() [7/20]

OF_SERVICE ( claim  )

Definition at line 214 of file of.cc.

References fatal(), and store_32bit_word().

◆ OF_SERVICE() [8/20]

OF_SERVICE ( exit  )

Definition at line 228 of file of.cc.

References cpu::running.

◆ OF_SERVICE() [9/20]

OF_SERVICE ( finddevice  )

Definition at line 235 of file of.cc.

◆ OF_SERVICE() [10/20]

OF_SERVICE ( getprop  )

◆ OF_SERVICE() [11/20]

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() [12/20]

OF_SERVICE ( instance_to_package  )

Definition at line 315 of file of.cc.

References store_32bit_word().

◆ OF_SERVICE() [13/20]

OF_SERVICE ( interpret_1  )

Definition at line 324 of file of.cc.

References fatal().

◆ OF_SERVICE() [14/20]

OF_SERVICE ( interpret_2  )

Definition at line 335 of file of.cc.

References fatal(), and store_32bit_word().

◆ OF_SERVICE() [15/20]

OF_SERVICE ( package_to_path  )

Definition at line 358 of file of.cc.

References fatal().

◆ OF_SERVICE() [16/20]

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() [17/20]

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() [18/20]

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() [19/20]

OF_SERVICE ( read  )

◆ OF_SERVICE() [20/20]

OF_SERVICE ( write  )

Variable Documentation

◆ quiet_mode

int quiet_mode

Definition at line 78 of file main.cc.

◆ verbose

int verbose

Definition at line 77 of file main.cc.

Referenced by main().


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13