DM: sw_load: sw_load function name update

To align with file name, acrn_sw_load_direct() is changed
to acrn_sw_load_bzimage().

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei 2018-03-27 12:40:39 +08:00 committed by Jack Ren
parent 01c8053dfb
commit 446297f96d
3 changed files with 3 additions and 3 deletions

View File

@ -279,7 +279,7 @@ acrn_prepare_zeropage(struct vmctx *ctx, int setup_size)
}
int
acrn_sw_load_direct(struct vmctx *ctx)
acrn_sw_load_bzimage(struct vmctx *ctx)
{
int ret, setup_size;
uint64_t *cfg_offset = (uint64_t *)(ctx->baseaddr + GUEST_CFG_OFFSET);

View File

@ -153,5 +153,5 @@ acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820)
int
acrn_sw_load(struct vmctx *ctx)
{
return acrn_sw_load_direct(ctx);
return acrn_sw_load_bzimage(ctx);
}

View File

@ -71,7 +71,7 @@ void vsbl_set_bdf(int bnum, int snum, int fnum);
int check_image(char *path);
uint32_t acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820);
int acrn_sw_load_direct(struct vmctx *ctx);
int acrn_sw_load_bzimage(struct vmctx *ctx);
int acrn_sw_load_vsbl(struct vmctx *ctx);
int acrn_sw_load(struct vmctx *ctx);
#endif