mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'
ide_get_geometry() and ide_get_bios_chs_trans() are only used by the TYPE_PC_MACHINE. "hw/ide.h" is a mixed bag of lost IDE declarations. In order to remove this (almost) pointless header soon, move these declarations to "hw/ide/internal.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230220091358.17038-18-philmd@linaro.org>
This commit is contained in:
parent
2c50207f0d
commit
066282672b
3 changed files with 6 additions and 5 deletions
|
@ -3,10 +3,6 @@
|
|||
|
||||
#include "exec/memory.h"
|
||||
|
||||
int ide_get_geometry(BusState *bus, int unit,
|
||||
int16_t *cyls, int8_t *heads, int8_t *secs);
|
||||
int ide_get_bios_chs_trans(BusState *bus, int unit);
|
||||
|
||||
/* ide/core.c */
|
||||
void ide_drive_get(DriveInfo **hd, int max_bus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue