Skip to content

Commit 39d004b

Browse files
loader: Make arm64_image_header public
This header is equivalent to the boot_params header found at the top of x86 kernels. We want to make this struct public to use it in a fw_cfg implementation that reads the kernel header for both arm and x86 Signed-off-by: Alex Orozco <alexorozco@google.com>
1 parent fd6a83d commit 39d004b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader/pe/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl std::error::Error for Error {}
7575
#[derive(Debug, Copy, Clone, Default)]
7676
// See kernel doc Documentation/arm64/booting.txt for more information.
7777
// All these fields should be little endian.
78-
struct arm64_image_header {
78+
pub struct arm64_image_header {
7979
code0: u32,
8080
code1: u32,
8181
text_offset: u64,

0 commit comments

Comments
 (0)