mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 10:23:46 +00:00
2009-07-15 Pavel Roskin <proski@gnu.org>
* include/grub/disk.h (struct grub_disk_dev): Use enum for id. * kern/disk.c (struct grub_disk_cache): Likewise.
This commit is contained in:
parent
e8e8e4fd88
commit
560ca572fa
@ -1,5 +1,8 @@
|
||||
2009-07-15 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* include/grub/disk.h (struct grub_disk_dev): Use enum for id.
|
||||
* kern/disk.c (struct grub_disk_cache): Likewise.
|
||||
|
||||
* commands/probe.c (options): Typo fix.
|
||||
|
||||
* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END):
|
||||
|
@ -56,7 +56,7 @@ struct grub_disk_dev
|
||||
const char *name;
|
||||
|
||||
/* The device id used by the cache manager. */
|
||||
unsigned long id;
|
||||
enum grub_disk_dev_id id;
|
||||
|
||||
/* Call HOOK with each device name, until HOOK returns non-zero. */
|
||||
int (*iterate) (int (*hook) (const char *name));
|
||||
|
@ -34,7 +34,7 @@ static grub_uint64_t grub_last_time = 0;
|
||||
/* Disk cache. */
|
||||
struct grub_disk_cache
|
||||
{
|
||||
unsigned long dev_id;
|
||||
enum grub_disk_dev_id dev_id;
|
||||
unsigned long disk_id;
|
||||
grub_disk_addr_t sector;
|
||||
char *data;
|
||||
|
Loading…
Reference in New Issue
Block a user