mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Move the excess of arm_load_kernel() parameters into a struct.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4212 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e22f8f39f3
commit
f93eb9ff66
9 changed files with 142 additions and 83 deletions
|
@ -55,6 +55,8 @@ typedef void ARMWriteCPFunc(void *opaque, int cp_info,
|
|||
typedef uint32_t ARMReadCPFunc(void *opaque, int cp_info,
|
||||
int dstreg, int operand);
|
||||
|
||||
struct arm_boot_info;
|
||||
|
||||
#define NB_MMU_MODES 2
|
||||
|
||||
/* We currently assume float and double are IEEE single and double
|
||||
|
@ -196,12 +198,7 @@ typedef struct CPUARMState {
|
|||
CPU_COMMON
|
||||
|
||||
/* These fields after the common ones so they are preserved on reset. */
|
||||
int ram_size;
|
||||
const char *kernel_filename;
|
||||
const char *kernel_cmdline;
|
||||
const char *initrd_filename;
|
||||
int board_id;
|
||||
target_phys_addr_t loader_start;
|
||||
struct arm_boot_info *boot_info;
|
||||
} CPUARMState;
|
||||
|
||||
CPUARMState *cpu_arm_init(const char *cpu_model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue