22 |
#include <grub/disk.h> |
#include <grub/disk.h> |
23 |
#include <grub/mm.h> |
#include <grub/mm.h> |
24 |
#include <grub/machine/ieee1275.h> |
#include <grub/machine/ieee1275.h> |
25 |
|
#include <grub/machine/init.h> |
26 |
|
|
27 |
static int |
static int |
28 |
grub_ofdisk_iterate (int (*hook) (const char *name)) |
grub_ofdisk_iterate (int (*hook) (const char *name)) |
29 |
{ |
{ |
30 |
|
auto int dev_iterate (struct grub_ieee1275_devalias *alias); |
31 |
|
|
32 |
int dev_iterate (struct grub_ieee1275_devalias *alias) |
int dev_iterate (struct grub_ieee1275_devalias *alias) |
33 |
{ |
{ |
34 |
if (! grub_strcmp (alias->type, "block")) |
if (! grub_strcmp (alias->type, "block")) |