Lines Matching +full:0 +full:x10080000

54 #define PM_CNTL_MODE          0x10
65 #define UART_IRQ 0
70 [VIRT_LOWMEM] = { 0x00000000, 0x10000000 },
71 [VIRT_PM] = { 0x10080000, 0x100 },
72 [VIRT_FW_CFG] = { 0x10080100, 0x100 },
73 [VIRT_RTC] = { 0x10081000, 0x1000 },
74 [VIRT_PCIE_PIO] = { 0x18000000, 0x80000 },
75 [VIRT_PCIE_ECAM] = { 0x1a000000, 0x2000000 },
76 [VIRT_BIOS_ROM] = { 0x1fc00000, 0x200000 },
77 [VIRT_UART] = { 0x1fe001e0, 0x8 },
78 [VIRT_IPI] = { 0x3ff01000, 0x400 },
79 [VIRT_LIOINTC] = { 0x3ff01400, 0x64 },
80 [VIRT_PCIE_MMIO] = { 0x40000000, 0x40000000 },
81 [VIRT_HIGHMEM] = { 0x80000000, 0x0 }, /* Variable */
85 [LOADER_KERNEL] = { 0x00000000, 0x4000000 },
86 [LOADER_INITRD] = { 0x04000000, 0x0 }, /* Variable */
87 [LOADER_CMDLINE] = { 0x0ff00000, 0x100000 },
91 [LOADER_BOOTROM] = { 0x1fc00000, 0x1000 },
92 [LOADER_PARAM] = { 0x1fc01000, 0x10000 },
119 return 0; in loongson3_pm_read()
130 case 0x00: in loongson3_pm_write()
133 case 0x01: in loongson3_pm_write()
136 case 0xff: in loongson3_pm_write()
168 if (ret >= 0) { in get_cpu_freq_hz()
203 0x40086000, /* mfc0 t0, CP0_STATUS */ in init_boot_rom()
204 0x240900E4, /* li t1, 0xe4 #set kx, sx, ux, erl */ in init_boot_rom()
205 0x01094025, /* or t0, t0, t1 */ in init_boot_rom()
206 0x3C090040, /* lui t1, 0x40 #set bev */ in init_boot_rom()
207 0x01094025, /* or t0, t0, t1 */ in init_boot_rom()
208 0x40886000, /* mtc0 t0, CP0_STATUS */ in init_boot_rom()
209 0x00000000, in init_boot_rom()
210 0x40806800, /* mtc0 zero, CP0_CAUSE */ in init_boot_rom()
211 0x00000000, in init_boot_rom()
212 0x400A7801, /* mfc0 t2, $15, 1 */ in init_boot_rom()
213 0x314A00FF, /* andi t2, 0x0ff */ in init_boot_rom()
214 0x3C089000, /* dli t0, 0x900000003ff01000 */ in init_boot_rom()
215 0x00084438, in init_boot_rom()
216 0x35083FF0, in init_boot_rom()
217 0x00084438, in init_boot_rom()
218 0x35081000, in init_boot_rom()
219 0x314B0003, /* andi t3, t2, 0x3 #local cpuid */ in init_boot_rom()
220 0x000B5A00, /* sll t3, 8 */ in init_boot_rom()
221 0x010B4025, /* or t0, t0, t3 */ in init_boot_rom()
222 0x314C000C, /* andi t4, t2, 0xc #node id */ in init_boot_rom()
223 0x000C62BC, /* dsll t4, 42 */ in init_boot_rom()
224 0x010C4025, /* or t0, t0, t4 */ in init_boot_rom()
226 0xDD020020, /* ld v0, FN_OFF(t0) #FN_OFF 0x020 */ in init_boot_rom()
227 0x1040FFFE, /* beqz v0, WaitForInit */ in init_boot_rom()
228 0x00000000, /* nop */ in init_boot_rom()
229 0xDD1D0028, /* ld sp, SP_OFF(t0) #FN_OFF 0x028 */ in init_boot_rom()
230 0xDD1C0030, /* ld gp, GP_OFF(t0) #FN_OFF 0x030 */ in init_boot_rom()
231 0xDD050038, /* ld a1, A1_OFF(t0) #FN_OFF 0x038 */ in init_boot_rom()
232 0x00400008, /* jr v0 #byebye */ in init_boot_rom()
233 0x00000000, /* nop */ in init_boot_rom()
234 0x1000FFFF, /* 1: b 1b */ in init_boot_rom()
235 0x00000000, /* nop */ in init_boot_rom()
238 0x3C0C9000, /* dli t0, 0x9000000010080010 */ in init_boot_rom()
239 0x358C0000, in init_boot_rom()
240 0x000C6438, in init_boot_rom()
241 0x358C1008, in init_boot_rom()
242 0x000C6438, in init_boot_rom()
243 0x358C0010, in init_boot_rom()
244 0x240D0000, /* li t1, 0x00 */ in init_boot_rom()
245 0xA18D0000, /* sb t1, (t0) */ in init_boot_rom()
246 0x1000FFFF, /* 1: b 1b */ in init_boot_rom()
247 0x00000000, /* nop */ in init_boot_rom()
250 0x3C0C9000, /* dli t0, 0x9000000010080010 */ in init_boot_rom()
251 0x358C0000, in init_boot_rom()
252 0x000C6438, in init_boot_rom()
253 0x358C1008, in init_boot_rom()
254 0x000C6438, in init_boot_rom()
255 0x358C0010, in init_boot_rom()
256 0x240D00FF, /* li t1, 0xff */ in init_boot_rom()
257 0xA18D0000, /* sb t1, (t0) */ in init_boot_rom()
258 0x1000FFFF, /* 1: b 1b */ in init_boot_rom()
259 0x00000000, /* nop */ in init_boot_rom()
261 0x3C0C9000, /* dli t0, 0x9000000010080010 */ in init_boot_rom()
262 0x358C0000, in init_boot_rom()
263 0x000C6438, in init_boot_rom()
264 0x358C1008, in init_boot_rom()
265 0x000C6438, in init_boot_rom()
266 0x358C0010, in init_boot_rom()
267 0x240D0001, /* li t1, 0x01 */ in init_boot_rom()
268 0xA18D0000, /* sb t1, (t0) */ in init_boot_rom()
269 0x03e00008, /* jr ra */ in init_boot_rom()
270 0x00000000 /* nop */ in init_boot_rom()
280 fw_cfg_modify_i16(opaque, FW_CFG_BOOT_DEVICE, boot_device[0]); in fw_cfg_boot_set()
285 static const uint8_t suspend[6] = {128, 0, 0, 129, 128, 128}; in fw_conf_init()
289 fw_cfg = fw_cfg_init_mem_wide(cfg_addr, cfg_addr + 8, 8, 0, NULL); in fw_conf_init()
304 int ret = 0; in set_prom_cmdline()
316 * argv[0], argv[1], 0, env[0], env[1], ... env[i], 0, in set_prom_cmdline()
317 * argv[0]'s data, argv[1]'s data, env[0]'data, ..., env[i]'s data, 0 in set_prom_cmdline()
327 if (initrd_size > 0) in set_prom_cmdline()
329 "rd_start=0x" TARGET_FMT_lx " rd_size=%li %s", in set_prom_cmdline()
348 return 0; in set_prom_cmdline()
361 NULL, 0, EM_MIPS, 1, 0); in load_kernel()
362 if (kernel_size < 0) { in load_kernel()
370 initrd_size = 0; in load_kernel()
371 initrd_offset = 0; in load_kernel()
374 if (initrd_size > 0) { in load_kernel()
437 ecam_reg = sysbus_mmio_get_region(SYS_BUS_DEVICE(dev), 0); in loongson3_virt_devices_init()
439 ecam_reg, 0, virt_memmap[VIRT_PCIE_ECAM].size); in loongson3_virt_devices_init()
455 get_system_io(), 0, in loongson3_virt_devices_init()
461 for (i = 0; i < GPEX_NUM_IRQS; i++) { in loongson3_virt_devices_init()
533 create_unimplemented_device("mmio fallback 0", 0x10000000, 256 * MiB); in mips_loongson3_virt_init()
534 create_unimplemented_device("mmio fallback 1", 0x30000000, 256 * MiB); in mips_loongson3_virt_init()
544 sysbus_mmio_get_region(SYS_BUS_DEVICE(ipi), 0)); in mips_loongson3_virt_init()
552 sysbus_mmio_map(SYS_BUS_DEVICE(liointc), 0, virt_memmap[VIRT_LIOINTC].base); in mips_loongson3_virt_init()
554 serial_mm_init(address_space_mem, virt_memmap[VIRT_UART].base, 0, in mips_loongson3_virt_init()
555 qdev_get_gpio_in(liointc, UART_IRQ), 115200, serial_hd(0), in mips_loongson3_virt_init()
564 for (i = 0; i < machine->smp.cpus; i++) { in mips_loongson3_virt_init()
579 base += core * 0x100; in mips_loongson3_virt_init()
588 iocsr, 0, UINT32_MAX); in mips_loongson3_virt_init()
590 0, core_iocsr); in mips_loongson3_virt_init()
594 if (node > 0) { in mips_loongson3_virt_init()
595 continue; /* Only node-0 can be connected to LIOINTC */ in mips_loongson3_virt_init()
598 for (ip = 0; ip < 4 ; ip++) { in mips_loongson3_virt_init()
606 /* Allocate RAM/BIOS, 0x00000000~0x10000000 is alias of 0x80000000~0x90000000 */ in mips_loongson3_virt_init()
610 machine->ram, 0, virt_memmap[VIRT_LOWMEM].size); in mips_loongson3_virt_init()
651 if ((bios_size < 0 || bios_size > virt_memmap[VIRT_BIOS_ROM].size) && in mips_loongson3_virt_init()