Revision 0986ac3b hw/sun4u.c

b/hw/sun4u.c
32 32
#define APB_SPECIAL_BASE     0x1fe00000000ULL
33 33
#define APB_MEM_BASE	     0x1ff00000000ULL
34 34
#define VGA_BASE	     (APB_MEM_BASE + 0x400000ULL)
35
#define PROM_FILENAMEB	     "proll-sparc64.bin"
36
#define PROM_FILENAMEE	     "proll-sparc64.elf"
35
#define PROM_FILENAME	     "openbios-sparc64"
37 36
#define NVRAM_SIZE           0x2000
38 37

  
39 38
/* TSC handling */
......
282 281
                                 (PROM_SIZE_MAX + TARGET_PAGE_SIZE) & TARGET_PAGE_MASK, 
283 282
                                 prom_offset | IO_MEM_ROM);
284 283

  
285
    snprintf(buf, sizeof(buf), "%s/%s", bios_dir, PROM_FILENAMEE);
284
    snprintf(buf, sizeof(buf), "%s/%s", bios_dir, PROM_FILENAME);
286 285
    ret = load_elf(buf, 0, NULL);
287 286
    if (ret < 0) {
288
	snprintf(buf, sizeof(buf), "%s/%s", bios_dir, PROM_FILENAMEB);
289
	ret = load_image(buf, phys_ram_base + prom_offset);
290
    }
291
    if (ret < 0) {
292 287
	fprintf(stderr, "qemu: could not load prom '%s'\n", 
293 288
		buf);
294 289
	exit(1);

Also available in: Unified diff