armv8: Refactor EFI loader
[barrelfish] / tools / armv8_bootimage / blob.h
index 7da93d2..dc9a544 100644 (file)
@@ -20,14 +20,19 @@ struct Blob {                   // offsets
         struct {
             uint64_t magic;
             uint64_t multiboot; // offset of the Multiboot2 boot info
+            uint64_t multiboot_size;
+            uint64_t modules;
+            uint64_t modules_size;
             uint64_t boot_driver_entry;
             uint64_t boot_driver_segment;       // offset of the boot driver image
+            uint64_t boot_driver_segment_size;
             uint64_t boot_driver_relocations;
             uint64_t boot_driver_relocations_count;
-            uint64_t kernel_entry;
-            uint64_t kernel_segment;    // offset of the cpu kernel image
-            uint64_t kernel_relocations;
-            uint64_t kernel_relocations_count;
+            uint64_t cpu_driver_entry;
+            uint64_t cpu_driver_segment;    // offset of the cpu kernel image
+            uint64_t cpu_driver_segment_size;
+            uint64_t cpu_driver_relocations;
+            uint64_t cpu_driver_relocations_count;
         };
         unsigned char data[BASE_PAGE_SIZE];
     };