main.cc File Reference

Back to the index.

Functions | Variables
main.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "ComponentFactory.h"
#include "console.h"
#include "cpu.h"
#include "debugger.h"
#include "device.h"
#include "diskimage.h"
#include "emul.h"
#include "GXemul.h"
#include "machine.h"
#include "misc.h"
#include "settings.h"
#include "timer.h"
#include "UnitTest.h"

Go to the source code of this file.

Functions

void debug_indentation (int diff)
 
void debug (const char *fmt,...)
 
void fatal (const char *fmt,...)
 
void internal_w (char *arg)
 
int get_cmd_args (int argc, char *argv[], struct emul *emul, char ***diskimagesp, int *n_diskimagesp)
 
int main (int argc, char *argv[])
 

Variables

int single_step
 
int force_debugger_at_exit
 
int optind
 
char * optarg
 
struct settingsglobal_settings
 
int extra_argc
 
char ** extra_argv
 
char * progname
 
size_t dyntrans_cache_size = DEFAULT_DYNTRANS_CACHE_SIZE
 
int verbose = 0
 
int quiet_mode = 0
 

Function Documentation

◆ debug()

void debug ( const char *  fmt,
  ... 
)

Definition at line 133 of file main.cc.

References quiet_mode.

◆ debug_indentation()

void debug_indentation ( int  diff)

◆ fatal()

void fatal ( const char *  fmt,
  ... 
)

Definition at line 152 of file main.cc.

Referenced by add_to_rx_queue(), alpha_palcode(), alpha_prom_call(), alpha_translate_v2p(), apple_load_bootblock(), arcbios_emul(), arcbios_private_emul(), arm_cdp(), arm_coproc_15(), arm_coproc_i80321_6(), arm_coproc_xscale_14(), arm_cpu_interpret_thumb_SLOW(), arm_exception(), arm_load_register_bank(), arm_mcr_mrc(), arm_pop(), arm_save_register_bank(), bus_isa_init(), bus_pci_add(), bus_pci_data_access(), bus_pci_decompose_1(), bus_pci_setaddr(), coproc_function(), coproc_register_read(), coproc_register_write(), coproc_tlbpr(), coproc_tlbwri(), cpu_disassemble_instr(), cpu_dumpinfo(), cpu_functioncall_trace(), cpu_register_dump(), cpu_tlbdump(), crime_update_crime_time(), dec21143_rx(), dec21143_tx(), dec_jumptable_func(), dev_fb_resize(), dev_gt_init(), dev_jazz_dma_controller(), dev_px_init(), dev_ram_init(), dev_scc_add_to_rx_queue(), dev_turbochannel_init(), DEVICE_ACCESS(), device_add(), DEVICE_TICK(), device_unregister(), DEVINIT(), diskimage_access(), diskimage_add(), diskimage_getchs(), diskimage_scsicommand(), diskimage_set_baseoffset(), do_mte_transfer(), draw_primitive(), dreamcast_emul(), emul_machine_setup(), framebuffer_blockcopyfill(), get_rgb(), horrible_getputpixel(), ieee_interpret_float_value(), ieee_store_float_value(), lca_interrupt_assert(), lca_interrupt_deassert(), le_register_write(), load_bootblock(), LS_GENERIC_N(), luna88kprom_emul(), m88k_exception(), m88k_fstcr(), m88k_ldcr(), m88k_stcr(), m88k_translate_v2p(), machine_add_tickfunction(), MACHINE_DEFAULT_CPU(), machine_default_cputype(), machine_init(), machine_list_available_types_and_cpus(), machine_memsize_fix(), machine_name_to_type(), MACHINE_SETUP(), machine_setup(), maple_do_dma_xfer(), memory_device_register(), memory_device_remove(), memory_warn_about_unimplemented_addr(), mvmeprom_emul(), net_debugaddr(), net_ethernet_tx(), net_generate_unique_mac(), net_ip_broadcast(), net_ip_tcp_connectionreply(), net_tcp_rx_avail(), net_udp_rx_avail(), of_emul(), OF_SERVICE(), osiop_execute_scripts_instr(), osiop_get_next_scripts_word(), pcctwo_interrupt_common(), PCIINIT(), pckbc_add_code(), pckbc_get_code(), playstation2_sifbios_emul(), ppc_bat(), ppc_exception(), ppc_translate_v2p(), pvr_dma_transfer(), pvr_render(), reg_access_msr(), sh4_dmac_transfer(), sh_cpu_interrupt_assert(), sh_exception(), TRANSLATE_ADDRESS(), X(), Y(), and yamon_emul().

◆ get_cmd_args()

int get_cmd_args ( int  argc,
char *  argv[],
struct emul emul,
char ***  diskimagesp,
int *  n_diskimagesp 
)

◆ internal_w()

void internal_w ( char *  arg)

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ dyntrans_cache_size

size_t dyntrans_cache_size = DEFAULT_DYNTRANS_CACHE_SIZE

Definition at line 65 of file main.cc.

Referenced by cpu_create_or_reset_tc().

◆ extra_argc

int extra_argc

Definition at line 61 of file main.cc.

Referenced by emul_simple_init().

◆ extra_argv

char** extra_argv

Definition at line 62 of file main.cc.

Referenced by emul_simple_init().

◆ force_debugger_at_exit

int force_debugger_at_exit

Definition at line 70 of file debugger.cc.

Referenced by main().

◆ global_settings

struct settings* global_settings

Definition at line 59 of file main.cc.

Referenced by debugger_parse_name(), and main().

◆ optarg

char* optarg

◆ optind

int optind

◆ progname

char* progname

Definition at line 63 of file main.cc.

Referenced by main().

◆ quiet_mode

int quiet_mode = 0

◆ single_step

int single_step

Definition at line 68 of file debugger.cc.

Referenced by main().

◆ verbose

int verbose = 0

Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18