Skip to content

Commit

Permalink
libvmm: make a small note about Linux images setup API
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Velickovic committed Oct 3, 2023
1 parent cb5d7a5 commit 2d7327f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/arch/aarch64/linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ struct linux_image_header {
uint32_t res5; // reserved (used for PE COFF offset)
};

// Note that this function assumes that the `kernel` parameter is aligned
// to at least the alignment of `struct linux_image_header`. The `dtb_src`
// paramter must be aligned to at least the alignment of `struct dtb_header`.
uintptr_t linux_setup_images(uintptr_t ram_start,
uintptr_t kernel,
size_t kernel_size,
Expand Down

0 comments on commit 2d7327f

Please sign in to comment.