fix include file in hw/loader.h
PATCH 1/1 fix include file in hw/loader.h
Now header files have gone into includes, so include file path
needs change also to avoid build break.
Signed-off-by Wenchao Xia <[email protected]>
--- hw/loader.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
hw/loader.h +2 -1
@@ -1,5 +1,6 @@#ifndef LOADER_H #define LOADER_H +#include "qapi/qmp/qdict.h" /* loader.c */ int get_image_size (const char *filename);
@@ -30,7 +31,7 @@ int rom_load_all(void);void rom_set_fw (void *f);int rom_copy (uint8_t *dest,hwaddr addr,size_t size);void *rom_ptr (hwaddr addr); -void do_info_roms (Monitor *mon); +void do_info_roms (Monitor *mon,const QDict *qdict);#define rom_add_file_fixed (_f, _a, _i) \ rom_add_file(_f, NULL, _a, _i)
Signature · 1 line
1.7.1
please ignore this mail, sorry for trouble.
Quoted 29 lines
Now header files have gone into includes, so include file path
needs change also to avoid build break.Signed-off-by Wenchao Xia <[email protected]>--- hw/loader.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)hw/loader.h +2
-1@@ -1,5 +1,6 @@#ifndef LOADER_H #define LOADER_H +#include "qapi/qmp/qdict.h" /* loader.c */ int get_image_size (const char *filename);@@ -30,7 +31,7 @@ int rom_load_all(void);void rom_set_fw (void *f);int rom_copy (uint8_t *dest,hwaddr addr,size_t size);void *rom_ptr (hwaddr addr); -void do_info_roms (Monitor *mon); +void do_info_roms (Monitor *mon,const QDict *qdict);#define rom_add_file_fixed (_f, _a, _i) \ rom_add_file(_f, NULL, _a, _i)
Signature · 3 lines
Best Regards Wenchao Xia