diff --git a/src/BootImg.zig b/src/BootImg.zig index ecba78a..81e3556 100644 --- a/src/BootImg.zig +++ b/src/BootImg.zig @@ -1,9 +1,9 @@ -var BOOT_MAGIC = "ANDROID!"; -var BOOT_MAGIC_SIZE = 8; -var BOOT_NAME_SIZE = 16; -var BOOT_ARGS_SIZE = 512; +export var BOOT_MAGIC = "ANDROID!"; +export var BOOT_MAGIC_SIZE = 8; +export var BOOT_NAME_SIZE = 16; +export var BOOT_ARGS_SIZE = 512; -struct BootImageHeader { +export struct BootImageHeader { u8[BOOT_MAGIC_SIZE] magic; u32 kernel_size; // size in bytes u32 kernel_addr; // physical load address