Commit bba831e80fd15f439ac694950759032a8c71793b
1 parent
fd6dc90b
Remove obsolete BIOS_SIZE from sysemu.h
BIOS_SIZE is no longer needed by vl.c, so there's no point having it in sysemu.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
9 changed files
with
14 additions
and
33 deletions
hw/mips-bios.h
0 → 100644
hw/mips_jazz.c
... | ... | @@ -32,12 +32,7 @@ |
32 | 32 | #include "boards.h" |
33 | 33 | #include "net.h" |
34 | 34 | #include "scsi.h" |
35 | - | |
36 | -#ifdef TARGET_WORDS_BIGENDIAN | |
37 | -#define BIOS_FILENAME "mips_bios.bin" | |
38 | -#else | |
39 | -#define BIOS_FILENAME "mipsel_bios.bin" | |
40 | -#endif | |
35 | +#include "mips-bios.h" | |
41 | 36 | |
42 | 37 | enum jazz_model_e |
43 | 38 | { | ... | ... |
hw/mips_malta.c
... | ... | @@ -37,15 +37,10 @@ |
37 | 37 | #include "audio/audio.h" |
38 | 38 | #include "boards.h" |
39 | 39 | #include "qemu-log.h" |
40 | +#include "mips-bios.h" | |
40 | 41 | |
41 | 42 | //#define DEBUG_BOARD_INIT |
42 | 43 | |
43 | -#ifdef TARGET_WORDS_BIGENDIAN | |
44 | -#define BIOS_FILENAME "mips_bios.bin" | |
45 | -#else | |
46 | -#define BIOS_FILENAME "mipsel_bios.bin" | |
47 | -#endif | |
48 | - | |
49 | 44 | #ifdef TARGET_MIPS64 |
50 | 45 | #define PHYS_TO_VIRT(x) ((x) | ~0x7fffffffULL) |
51 | 46 | #else | ... | ... |
hw/mips_mipssim.c
... | ... | @@ -31,12 +31,7 @@ |
31 | 31 | #include "net.h" |
32 | 32 | #include "sysemu.h" |
33 | 33 | #include "boards.h" |
34 | - | |
35 | -#ifdef TARGET_WORDS_BIGENDIAN | |
36 | -#define BIOS_FILENAME "mips_bios.bin" | |
37 | -#else | |
38 | -#define BIOS_FILENAME "mipsel_bios.bin" | |
39 | -#endif | |
34 | +#include "mips-bios.h" | |
40 | 35 | |
41 | 36 | #ifdef TARGET_MIPS64 |
42 | 37 | #define PHYS_TO_VIRT(x) ((x) | ~0x7fffffffULL) | ... | ... |
hw/mips_r4k.c
... | ... | @@ -16,12 +16,7 @@ |
16 | 16 | #include "boards.h" |
17 | 17 | #include "flash.h" |
18 | 18 | #include "qemu-log.h" |
19 | - | |
20 | -#ifdef TARGET_WORDS_BIGENDIAN | |
21 | -#define BIOS_FILENAME "mips_bios.bin" | |
22 | -#else | |
23 | -#define BIOS_FILENAME "mipsel_bios.bin" | |
24 | -#endif | |
19 | +#include "mips-bios.h" | |
25 | 20 | |
26 | 21 | #define PHYS_TO_VIRT(x) ((x) | ~(target_ulong)0x7fffffff) |
27 | 22 | ... | ... |
hw/ppc405_boards.c
hw/ppc_mac.h
hw/ppc_prep.c
sysemu.h
... | ... | @@ -123,14 +123,6 @@ extern const char *prom_envs[MAX_PROM_ENVS]; |
123 | 123 | extern unsigned int nb_prom_envs; |
124 | 124 | #endif |
125 | 125 | |
126 | -#if defined (TARGET_PPC) | |
127 | -#define BIOS_SIZE (1024 * 1024) | |
128 | -#elif defined (TARGET_SPARC64) | |
129 | -#define BIOS_SIZE ((512 + 32) * 1024) | |
130 | -#elif defined(TARGET_MIPS) | |
131 | -#define BIOS_SIZE (4 * 1024 * 1024) | |
132 | -#endif | |
133 | - | |
134 | 126 | typedef enum { |
135 | 127 | IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN, |
136 | 128 | IF_COUNT | ... | ... |