From e5c33074e25c35aa703699722cdabe8950602bc7 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sat, 20 Aug 2022 09:05:23 -0400 Subject: [PATCH] Add ZXE class header struct to zealbooter. --- zealbooter/zealbooter.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/zealbooter/zealbooter.c b/zealbooter/zealbooter.c index a2f60bff..dc8e52fa 100644 --- a/zealbooter/zealbooter.c +++ b/zealbooter/zealbooter.c @@ -22,8 +22,18 @@ static void done(void) { } } -struct CKernel { +struct CZXE { + uint16_t jmp; + uint8_t module_align_bits; + uint8_t reserved; + uint32_t signature; + int64_t org; + int64_t patch_table_offset; + int64_t file_size; +}; +struct CKernel { + struct CZXE zxe; }; // The following will be our kernel's entry point.