a1447506fe
* util/sparc64/ieee1275/grub-setup.c: New file. * util/sparc64/ieee1275/grub-ofpathname.c: New file. * util/sparc64/ieee1275/grub-mkimage.c: New file. * util/sparc64/ieee1275/grub-install.in: New file. * util/ieee1275/ofpath.c: New file. * util/ieee1275/devicemap.c: New file. * util/devicemap.c: New file. * util/deviceiter.c: New file. * kern/sparc64/ieee1275/init.c: New file. * include/grub/util/ofpath.h: New file. * include/grub/util/deviceiter.h: New file. * util/grub-mkdevicemap.c: Include deviceiter.h. Implement using grub_util_emit_devicemap_entry and grub_util_iterate_devices. * conf/i386-corebook.rmk: Build util/deviceiter.c and util/devicemap.c into grub-mkdevicemap * conf/i386-efi.rmk: Likewise. * conf/i386-ieee1275.rmk: Likewise. * conf/i386-pc.rmk: Likewise. * conf/powerpc-ieee1275.rmk: Likewise. * conf/sparc64-ieee1275.rmk: Add rules to build boot block images and installation utilities. Build kernel as image instead of as elf binary. Use common rules as much as possible.
11 lines
379 B
C
11 lines
379 B
C
#ifndef GRUB_DEVICEITER_MACHINE_UTIL_HEADER
|
|
#define GRUB_DEVICEITER_MACHINE_UTIL_HEADER 1
|
|
|
|
#include <config.h>
|
|
|
|
void grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
|
|
int floppy_disks);
|
|
void grub_util_emit_devicemap_entry (FILE *fp, char *name, int is_floppy,
|
|
int *num_fd, int *num_hd);
|
|
|
|
#endif /* ! GRUB_DEVICEITER_MACHINE_UTIL_HEADER */
|