From 3cf8910a601e5d26dc63af48c09fe91bb7ca7d95 Mon Sep 17 00:00:00 2001 From: vexdevt Date: Sun, 12 May 2024 00:00:41 +0300 Subject: [PATCH] my retarded ass forgot to export those --- src/BootImg.zig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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