projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebc03b
)
loader: Fix incorrect parameter name in load_image_mr() macro
author
Jens Wiklander
<jens.wiklander@linaro.org>
Wed, 16 Mar 2016 17:05:58 +0000
(17:05 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Wed, 16 Mar 2016 17:05:58 +0000
(17:05 +0000)
Fix a typo in the load_image_mr() macro: 'mr' was written when
the parameter name is '_mr'. (This had no visible effects since
the single use of the macro used 'mr' as the argument.)
Fixes
76151cacfe956248a25b38b5e8429465584f47bb
"loader: Add
load_image_mr() to load ROM image to a MemoryRegion"
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/loader.h
patch
|
blob
|
history
diff --git
a/include/hw/loader.h
b/include/hw/loader.h
index 0ba780852cd5661a8381eb3beca4f4f8944ee869..b3d1358d9cbff50199f6fc563b7c2b2f27f269df 100644
(file)
--- a/
include/hw/loader.h
+++ b/
include/hw/loader.h
@@
-137,7
+137,7
@@
void hmp_info_roms(Monitor *mon, const QDict *qdict);
#define rom_add_blob_fixed(_f, _b, _l, _a) \
rom_add_blob(_f, _b, _l, _l, _a, NULL, NULL, NULL)
#define rom_add_file_mr(_f, _mr, _i) \
- rom_add_file(_f, NULL, 0, _i, false, mr)
+ rom_add_file(_f, NULL, 0, _i, false,
_
mr)
#define PC_ROM_MIN_VGA 0xc0000
#define PC_ROM_MIN_OPTION 0xc8000