Skip to content

Commit 446297f

Browse files
fyin1jren1
authored andcommitted
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>
1 parent 01c8053 commit 446297f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

devicemodel/core/sw_load_bzimage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ acrn_prepare_zeropage(struct vmctx *ctx, int setup_size)
279279
}
280280

281281
int
282-
acrn_sw_load_direct(struct vmctx *ctx)
282+
acrn_sw_load_bzimage(struct vmctx *ctx)
283283
{
284284
int ret, setup_size;
285285
uint64_t *cfg_offset = (uint64_t *)(ctx->baseaddr + GUEST_CFG_OFFSET);

devicemodel/core/sw_load_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,5 @@ acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820)
153153
int
154154
acrn_sw_load(struct vmctx *ctx)
155155
{
156-
return acrn_sw_load_direct(ctx);
156+
return acrn_sw_load_bzimage(ctx);
157157
}

devicemodel/include/sw_load.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void vsbl_set_bdf(int bnum, int snum, int fnum);
7171
int check_image(char *path);
7272
uint32_t acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820);
7373

74-
int acrn_sw_load_direct(struct vmctx *ctx);
74+
int acrn_sw_load_bzimage(struct vmctx *ctx);
7575
int acrn_sw_load_vsbl(struct vmctx *ctx);
7676
int acrn_sw_load(struct vmctx *ctx);
7777
#endif

0 commit comments

Comments
 (0)