arcbios.h File Reference

Back to the index.

Classes | Macros | Functions
arcbios.h File Reference
#include "misc.h"
#include "thirdparty/sgi_arcbios.h"

Go to the source code of this file.

Classes

struct  emul_arc_child
 
struct  emul_arc_child64
 

Macros

#define ARC_BOOTSTR_BUFLEN   1000
 
#define SGI_SPB_ADDR   0xffffffff80001000ULL
 
#define ARC_FIRMWARE_VECTORS   0xffffffffbfc80000ULL
 
#define ARC_FIRMWARE_ENTRIES   0xffffffffbfc88000ULL
 
#define ARC_ARGV_START   0xffffffffbfc90000ULL
 
#define ARC_ENV_STRINGS   0xffffffffbfc98000ULL
 
#define ARC_ENV_SGI   0xffffffffbfc04000ULL
 
#define ARC_ENV_STRINGS_SGI   0xffffffffbfc04040ULL
 
#define ARC_ENV_POINTERS   0xffffffffbfc9d000ULL
 
#define SGI_SYSID_ADDR   0xffffffffbfca1800ULL
 
#define ARC_DSPSTAT_ADDR   0xffffffffbfca1c00ULL
 
#define ARC_MEMDESC_ADDR   0xffffffffbfca1c80ULL
 
#define ARC_CONFIG_DATA_ADDR   0xffffffffbfca2000ULL
 
#define FIRST_ARC_COMPONENT   0xffffffffbfca8000ULL
 
#define ARC_PRIVATE_VECTORS   0xffffffffbfcb0000ULL
 
#define ARC_PRIVATE_ENTRIES   0xffffffffbfcb8000ULL
 

Functions

void arcbios_add_string_to_component (struct machine *machine, char *string, uint64_t component)
 
void arcbios_register_scsicontroller (struct machine *machine, uint64_t scsicontroller_component)
 
uint64_t arcbios_get_scsicontroller (struct machine *machine)
 
void arcbios_add_memory_descriptor (struct cpu *cpu, uint64_t base, uint64_t len, int arctype)
 
uint64_t arcbios_addchild_manual (struct cpu *cpu, uint64_t cclass, uint64_t type, uint64_t flags, uint64_t version, uint64_t revision, uint64_t key, uint64_t affinitymask, const char *identifier, uint64_t parent, void *config_data, size_t config_len)
 
int arcbios_emul (struct cpu *cpu)
 
void arcbios_set_default_exception_handler (struct cpu *cpu)
 
void arcbios_console_init (struct machine *machine, uint64_t vram, uint64_t ctrlregs)
 
void arcbios_init (struct machine *machine, int is64bit, uint64_t sgi_ram_offset, const char *primary_ether_string, uint8_t *primary_ether_macaddr)
 

Macro Definition Documentation

◆ ARC_ARGV_START

#define ARC_ARGV_START   0xffffffffbfc90000ULL

Definition at line 96 of file arcbios.h.

◆ ARC_BOOTSTR_BUFLEN

#define ARC_BOOTSTR_BUFLEN   1000

Definition at line 82 of file arcbios.h.

◆ ARC_CONFIG_DATA_ADDR

#define ARC_CONFIG_DATA_ADDR   0xffffffffbfca2000ULL

Definition at line 104 of file arcbios.h.

◆ ARC_DSPSTAT_ADDR

#define ARC_DSPSTAT_ADDR   0xffffffffbfca1c00ULL

Definition at line 102 of file arcbios.h.

◆ ARC_ENV_POINTERS

#define ARC_ENV_POINTERS   0xffffffffbfc9d000ULL

Definition at line 100 of file arcbios.h.

◆ ARC_ENV_SGI

#define ARC_ENV_SGI   0xffffffffbfc04000ULL

Definition at line 98 of file arcbios.h.

◆ ARC_ENV_STRINGS

#define ARC_ENV_STRINGS   0xffffffffbfc98000ULL

Definition at line 97 of file arcbios.h.

◆ ARC_ENV_STRINGS_SGI

#define ARC_ENV_STRINGS_SGI   0xffffffffbfc04040ULL

Definition at line 99 of file arcbios.h.

◆ ARC_FIRMWARE_ENTRIES

#define ARC_FIRMWARE_ENTRIES   0xffffffffbfc88000ULL

Definition at line 95 of file arcbios.h.

◆ ARC_FIRMWARE_VECTORS

#define ARC_FIRMWARE_VECTORS   0xffffffffbfc80000ULL

Definition at line 94 of file arcbios.h.

◆ ARC_MEMDESC_ADDR

#define ARC_MEMDESC_ADDR   0xffffffffbfca1c80ULL

Definition at line 103 of file arcbios.h.

◆ ARC_PRIVATE_ENTRIES

#define ARC_PRIVATE_ENTRIES   0xffffffffbfcb8000ULL

Definition at line 107 of file arcbios.h.

◆ ARC_PRIVATE_VECTORS

#define ARC_PRIVATE_VECTORS   0xffffffffbfcb0000ULL

Definition at line 106 of file arcbios.h.

◆ FIRST_ARC_COMPONENT

#define FIRST_ARC_COMPONENT   0xffffffffbfca8000ULL

Definition at line 105 of file arcbios.h.

◆ SGI_SPB_ADDR

#define SGI_SPB_ADDR   0xffffffff80001000ULL

Definition at line 92 of file arcbios.h.

◆ SGI_SYSID_ADDR

#define SGI_SYSID_ADDR   0xffffffffbfca1800ULL

Definition at line 101 of file arcbios.h.

Function Documentation

◆ arcbios_add_memory_descriptor()

void arcbios_add_memory_descriptor ( struct cpu cpu,
uint64_t  base,
uint64_t  len,
int  arctype 
)

◆ arcbios_add_string_to_component()

void arcbios_add_string_to_component ( struct machine machine,
char *  string,
uint64_t  component 
)

◆ arcbios_addchild_manual()

uint64_t arcbios_addchild_manual ( struct cpu cpu,
uint64_t  cclass,
uint64_t  type,
uint64_t  flags,
uint64_t  version,
uint64_t  revision,
uint64_t  key,
uint64_t  affinitymask,
const char *  identifier,
uint64_t  parent,
void *  config_data,
size_t  config_len 
)

◆ arcbios_console_init()

void arcbios_console_init ( struct machine machine,
uint64_t  vram,
uint64_t  ctrlregs 
)

◆ arcbios_emul()

int arcbios_emul ( struct cpu cpu)

◆ arcbios_get_scsicontroller()

uint64_t arcbios_get_scsicontroller ( struct machine machine)

Definition at line 424 of file arcbios.cc.

References machine::arc, machine::md, and machine_arcbios::scsicontroller.

◆ arcbios_init()

void arcbios_init ( struct machine machine,
int  is64bit,
uint64_t  sgi_ram_offset,
const char *  primary_ether_string,
uint8_t *  primary_ether_macaddr 
)

◆ arcbios_register_scsicontroller()

void arcbios_register_scsicontroller ( struct machine machine,
uint64_t  scsicontroller_component 
)

Definition at line 414 of file arcbios.cc.

References machine::arc, machine::md, and machine_arcbios::scsicontroller.

◆ arcbios_set_default_exception_handler()

void arcbios_set_default_exception_handler ( struct cpu cpu)

Definition at line 1866 of file arcbios.cc.

References store_32bit_word().


Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17