machine_hpcarm.cc Source File
Back to the index.
Go to the documentation of this file.
49 int hpc_platid_flags = 0, hpc_platid_cpu_submodel = 0,
50 hpc_platid_cpu_model = 0, hpc_platid_cpu_series = 0,
51 hpc_platid_cpu_arch = 0,
52 hpc_platid_submodel = 0, hpc_platid_model = 0,
53 hpc_platid_series = 0, hpc_platid_vendor = 0;
54 uint64_t hpc_fb_addr = 0;
55 int hpc_fb_bits = 0, hpc_fb_encoding = 0;
58 int hpc_fb_xsize_mem = 0;
59 int hpc_fb_ysize_mem = 0;
70 hpc_fb_addr = 0x48200000;
73 hpc_fb_xsize_mem = 256;
74 hpc_fb_ysize_mem = 320;
77 hpc_platid_cpu_arch = 3;
78 hpc_platid_cpu_series = 1;
79 hpc_platid_cpu_model = 2;
80 hpc_platid_cpu_submodel = 0;
81 hpc_platid_vendor = 7;
82 hpc_platid_series = 4;
84 hpc_platid_submodel = 1;
92 "Jornada 720" :
"Jornada 728");
93 hpc_fb_addr = 0x48200000;
96 hpc_fb_xsize_mem = 640;
97 hpc_fb_ysize_mem = 240;
100 hpc_platid_cpu_arch = 3;
101 hpc_platid_cpu_series = 1;
102 hpc_platid_cpu_model = 2;
103 hpc_platid_cpu_submodel = 0;
104 hpc_platid_vendor = 11;
105 hpc_platid_series = 2;
106 hpc_platid_model = 2;
107 hpc_platid_submodel = 1;
110 default:printf(
"Unimplemented hpcarm machine number.\n");
115 (hpc_platid_cpu_arch << 26) + (hpc_platid_cpu_series << 20)
116 + (hpc_platid_cpu_model << 14) + (hpc_platid_cpu_submodel << 8)
119 platid_machine,(hpc_platid_vendor << 22) + (hpc_platid_series << 16)
120 + (hpc_platid_model << 8) + hpc_platid_submodel);
129 if (hpc_fb_addr != 0) {
131 hpc_fb_xsize, hpc_fb_ysize,
132 hpc_fb_xsize_mem, hpc_fb_ysize_mem,
175 fb_line_bytes, hpc_fb_xsize_mem * (((hpc_fb_bits-1)|7)+1) / 8);
230 me->set_default_ram = machine_default_ram_hpcarm;
void store_buf(struct cpu *cpu, uint64_t addr, const char *s, size_t len)
MACHINE_DEFAULT_RAM(hpcarm)
char * boot_string_argument
#define MACHINE_HPCARM_JORNADA720
void machine_entry_add_subtype(struct machine_entry *me, const char *name, int oldstyle_subtype,...)
#define MR_DEFAULT(x, name, arch, type)
void store_string(struct cpu *cpu, uint64_t addr, const char *s)
void store_16bit_word_in_host(struct cpu *cpu, unsigned char *data, uint16_t data16)
#define HPC_BOOTINFO_MAGIC
#define MACHINE_HPCARM_IPAQ
MACHINE_DEFAULT_CPU(hpcarm)
uint32_t physical_ram_in_mb
#define EMUL_LITTLE_ENDIAN
char * boot_kernel_filename
int store_32bit_word(struct cpu *cpu, uint64_t addr, uint64_t data32)
void store_32bit_word_in_host(struct cpu *cpu, unsigned char *data, uint64_t data32)
const char * machine_name
void machine_entry_add_alias(struct machine_entry *me, const char *name)
void dev_ram_init(struct machine *machine, uint64_t baseaddr, uint64_t length, int mode, uint64_t otheraddress, const char *name)
struct vfb_data * dev_fb_init(struct machine *machine, struct memory *mem, uint64_t baseaddr, int vfb_type, int visible_xsize, int visible_ysize, int xsize, int ysize, int bit_depth, const char *name)
#define MACHINE_HPCARM_JORNADA728
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18