Searched defs:macho (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmacho.c0 /* macho.c - load Mach-O files. */
25 #include <grub/macho.h>
26 #include <grub/cpu/macho.h>
33 grub_macho_close (grub_macho_t macho) argument
35 grub_file_t file = macho->file;
37 grub_free (macho->cmds32);
38 grub_free (macho->cmds64);
40 grub_free (macho);
51 grub_macho_t macho; local
54 macho
149 grub_macho_t macho; local
[all...]
H A DmachoXX.c9 SUFFIX (grub_macho_contains_macho) (grub_macho_t macho) argument
11 return macho->offsetXX != -1;
15 SUFFIX (grub_macho_parse) (grub_macho_t macho) argument
20 if (macho->offsetXX == -1)
24 if (grub_file_seek (macho->file, macho->offsetXX) == (grub_off_t) -1
25 || grub_file_read (macho->file, &head, sizeof (head))
29 macho->offsetXX = -1;
35 macho->offsetXX = -1;
40 macho
62 grub_macho_cmds_iterate(grub_macho_t macho, grub_macho_iter_hook_t hook, void *hook_arg) argument
82 grub_macho_filesize(grub_macho_t macho) argument
90 grub_macho_readfile(grub_macho_t macho, void *dest) argument
117 grub_macho_size(grub_macho_t macho, grub_macho_addr_t *segments_start, grub_macho_addr_t *segments_end, int flags) argument
165 grub_macho_load(grub_macho_t macho, char *offset, int flags) argument
223 grub_macho_get_entry_point(grub_macho_t macho) argument
[all...]
H A Dxnu.c29 #include <grub/macho.h>
30 #include <grub/cpu/macho.h>
346 grub_macho_t macho; local
358 macho = grub_macho_open (args[0]);
359 if (! macho)
361 if (! grub_macho_contains_macho32 (macho))
363 grub_macho_close (macho);
368 err = grub_macho_size32 (macho, &startcode, &endcode, GRUB_MACHO_NOBSS);
371 grub_macho_close (macho);
388 grub_macho_close (macho);
456 grub_macho_t macho; local
642 grub_macho_t macho; local
[all...]

Completed in 22 milliseconds