diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-06-21 10:29:29 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-06-29 02:32:42 +0400 |
commit | 62dbaede80b396aaae5394a9b6922b51be835e86 (patch) | |
tree | 4fd12fcd5b147459608437ea660bf274998d6357 /hw/xtensa/xtfpga.c | |
parent | 37b259d034c4e6eda5e7a677238d8a5efb666e9f (diff) | |
download | qemu-62dbaede80b396aaae5394a9b6922b51be835e86.zip qemu-62dbaede80b396aaae5394a9b6922b51be835e86.tar.gz qemu-62dbaede80b396aaae5394a9b6922b51be835e86.tar.bz2 |
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>
Diffstat (limited to 'hw/xtensa/xtfpga.c')
-rw-r--r-- | hw/xtensa/xtfpga.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index 0aa3eeb..6d070b0 100644 --- a/hw/xtensa/xtfpga.c +++ b/hw/xtensa/xtfpga.c @@ -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; |