9ff516f3eb
* commands/hdparm.c: New file. Provides `hdparm' command which sends ATA commands via grub_disk_ata_pass_through (). * conf/i386-pc.rmk: Add ata_pthru.mod and hdparm.mod. * disk/ata.c: Include <grub/ata.h>. Move <grub/misc.h> and <grub/cpu/io.h> to include/grub/ata.h. (enum grub_ata_addressing_t): Move to include/grub/ata.h. (GRUB_CDROM_SECTOR_SIZE): Remove. (GRUB_ATA_*): Move to include/grub/ata.h. (GRUB_ATAPI_*): Likewise. (enum grub_ata_commands): Likewise. (enum grub_ata_timeout_milliseconds): Likewise. (struct grub_ata_device): Likewise. (grub_ata_regset): Likewise. (grub_ata_regget): Likewise. (grub_ata_regset2): Likewise. (grub_ata_regget2): Likewise. (grub_ata_check_ready): Likewise. (grub_ata_wait_not_busy): Remove static, exported in include/grub/ata.h. (grub_ata_wait_drq): Likewise. (grub_ata_pio_read): Likewise. * disk/ata_pthru.c: New file. Provides grub_ata_pass_through () function for hdparm.mod. * include/grub/ata.h: New file, contains declarations from disk/ata.c. (enum grub_ata_commands): Add new commands for commands/hdparm.c. * include/grub/disk.h (grub_disk_ata_pass_through_parms): New struct. (grub_disk_ata_pass_through): New exported variable. * kern/disk.c (grub_disk_ata_pass_through): New variable. |
||
---|---|---|
.. | ||
common.mk | ||
common.rmk | ||
i386-coreboot.mk | ||
i386-coreboot.rmk | ||
i386-efi.mk | ||
i386-efi.rmk | ||
i386-ieee1275.mk | ||
i386-ieee1275.rmk | ||
i386-pc-cygwin-img-ld.sc | ||
i386-pc.mk | ||
i386-pc.rmk | ||
i386.mk | ||
i386.rmk | ||
powerpc-ieee1275.mk | ||
powerpc-ieee1275.rmk | ||
sparc64-ieee1275.mk | ||
sparc64-ieee1275.rmk | ||
x86_64-efi.mk | ||
x86_64-efi.rmk |