mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 12:12:16 +00:00
HV: boot/elf: Fix the wrong comments in elf.h
The definition of elf32_prog_entry with wrong comments, p_filesz should means size of segment in file and p_memsz should means size of segment in memory. Tracked-On: #8642 Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
4a176212eb
commit
63efde6bdd
@ -137,8 +137,8 @@ struct elf32_prog_entry
|
|||||||
uint32_t p_offset; /* Offset in file */
|
uint32_t p_offset; /* Offset in file */
|
||||||
uint32_t p_vaddr; /* Virtual address in memory */
|
uint32_t p_vaddr; /* Virtual address in memory */
|
||||||
uint32_t p_paddr; /* Physical address in memory */
|
uint32_t p_paddr; /* Physical address in memory */
|
||||||
uint32_t p_filesz; /* Size of segment in memory */
|
uint32_t p_filesz; /* Size of segment in file */
|
||||||
uint32_t p_memsz; /* Size of segment in file */
|
uint32_t p_memsz; /* Size of segment in memory */
|
||||||
uint32_t p_flags; /* Segment attributes */
|
uint32_t p_flags; /* Segment attributes */
|
||||||
uint32_t p_align; /* Alignment of segment */
|
uint32_t p_align; /* Alignment of segment */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user