Lines Matching defs:modinfo
780 struct grub_module_info64 *modinfo;
782 modinfo = (struct grub_module_info64 *) kernel_img;
784 modinfo = (struct grub_module_info64 *) (kernel_img + kernel_size);
785 memset (modinfo, 0, sizeof (struct grub_module_info64));
786 modinfo->magic = grub_host_to_target32 (GRUB_MODULE_MAGIC);
787 modinfo->offset = grub_host_to_target_addr (sizeof (struct grub_module_info64));
788 modinfo->size = grub_host_to_target_addr (total_module_size);
797 struct grub_module_info32 *modinfo;
799 modinfo = (struct grub_module_info32 *) kernel_img;
801 modinfo = (struct grub_module_info32 *) (kernel_img + kernel_size);
802 memset (modinfo, 0, sizeof (struct grub_module_info32));
803 modinfo->magic = grub_host_to_target32 (GRUB_MODULE_MAGIC);
804 modinfo->offset = grub_host_to_target_addr (sizeof (struct grub_module_info32));
805 modinfo->size = grub_host_to_target_addr (total_module_size);