/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2005,2007,2008 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GRUB_BIOSDISK_MACHINE_HEADER
#define GRUB_BIOSDISK_CDTYPE_NO_EMUL 0
struct grub_biosdisk_data
{
int drive;
unsigned long cylinders;
unsigned long heads;
unsigned long sectors;
unsigned long flags;
};
/* Drive Parameters. */
struct grub_biosdisk_drp
{
/* ver 2.0 or higher */
union
{
/* Pointer to the Device Parameter Table Extension (ver 3.0+). */
};
/* ver 3.0 or higher */
/* XXX: This is necessary, because the BIOS of Thinkpad X20
writes a garbage to the tail of drive parameters,
regardless of a size specified in a caller. */
} __attribute__ ((packed));
struct grub_biosdisk_cdrp
{
} __attribute__ ((packed));
/* Disk Address Packet. */
struct grub_biosdisk_dap
{
} __attribute__ ((packed));
#endif /* ! GRUB_BIOSDISK_MACHINE_HEADER */