mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
hw/xtensa/xtfpga: use symbolic constants for bootparam tags
Import bootparam tag names from linux/arch/xtensa/include/asm/bootparam.h No functional changes. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
37b259d034
commit
62dbaede80
2 changed files with 13 additions and 3 deletions
|
@ -250,12 +250,12 @@ static void lx_init(const LxBoardDesc *board, MachineState *machine)
|
|||
|
||||
env->regs[2] = tagptr;
|
||||
|
||||
tagptr = put_tag(tagptr, 0x7b0b, 0, NULL);
|
||||
tagptr = put_tag(tagptr, BP_TAG_FIRST, 0, NULL);
|
||||
if (cmdline_size > 1) {
|
||||
tagptr = put_tag(tagptr, 0x1001,
|
||||
tagptr = put_tag(tagptr, BP_TAG_COMMAND_LINE,
|
||||
cmdline_size, kernel_cmdline);
|
||||
}
|
||||
tagptr = put_tag(tagptr, 0x7e0b, 0, NULL);
|
||||
tagptr = put_tag(tagptr, BP_TAG_LAST, 0, NULL);
|
||||
}
|
||||
uint64_t elf_entry;
|
||||
uint64_t elf_lowaddr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue