1 |
/* amiga.c - Read amiga partition tables (RDB). */ |
/* amiga.c - Read amiga partition tables (RDB). */ |
2 |
/* |
/* |
3 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
4 |
* Copyright (C) 2002, 2004 Free Software Foundation, Inc. |
* Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. |
5 |
* |
* |
6 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
211 |
.get_name = amiga_partition_map_get_name |
.get_name = amiga_partition_map_get_name |
212 |
}; |
}; |
213 |
|
|
214 |
#ifdef GRUB_UTIL |
GRUB_MOD_INIT(amiga_partition_map) |
|
void |
|
|
grub_amiga_partition_map_init (void) |
|
|
{ |
|
|
grub_partition_map_register (&grub_amiga_partition_map); |
|
|
} |
|
|
|
|
|
void |
|
|
grub_amiga_partition_map_fini (void) |
|
|
{ |
|
|
grub_partition_map_unregister (&grub_amiga_partition_map); |
|
|
} |
|
|
#else |
|
|
GRUB_MOD_INIT |
|
215 |
{ |
{ |
216 |
grub_partition_map_register (&grub_amiga_partition_map); |
grub_partition_map_register (&grub_amiga_partition_map); |
217 |
|
#ifndef GRUB_UTIL |
218 |
my_mod = mod; |
my_mod = mod; |
219 |
|
#endif |
220 |
} |
} |
221 |
|
|
222 |
GRUB_MOD_FINI |
GRUB_MOD_FINI(amiga_partition_map) |
223 |
{ |
{ |
224 |
grub_partition_map_unregister (&grub_amiga_partition_map); |
grub_partition_map_unregister (&grub_amiga_partition_map); |
225 |
} |
} |
|
#endif |
|