linux/include/linux/edd.h
<<
>>
Prefs
   1/*
   2 * linux/include/linux/edd.h
   3 *  Copyright (C) 2002, 2003, 2004 Dell Inc.
   4 *  by Matt Domsch <Matt_Domsch@dell.com>
   5 *
   6 * structures and definitions for the int 13h, ax={41,48}h
   7 * BIOS Enhanced Disk Drive Services
   8 * This is based on the T13 group document D1572 Revision 0 (August 14 2002)
   9 * available at http://www.t13.org/docs2002/d1572r0.pdf.  It is
  10 * very similar to D1484 Revision 3 http://www.t13.org/docs2002/d1484r3.pdf
  11 *
  12 * In a nutshell, arch/{i386,x86_64}/boot/setup.S populates a scratch
  13 * table in the boot_params that contains a list of BIOS-enumerated
  14 * boot devices.
  15 * In arch/{i386,x86_64}/kernel/setup.c, this information is
  16 * transferred into the edd structure, and in drivers/firmware/edd.c, that
  17 * information is used to identify BIOS boot disk.  The code in setup.S
  18 * is very sensitive to the size of these structures.
  19 *
  20 * This program is free software; you can redistribute it and/or modify
  21 * it under the terms of the GNU General Public License v2.0 as published by
  22 * the Free Software Foundation
  23 *
  24 * This program is distributed in the hope that it will be useful,
  25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27 * GNU General Public License for more details.
  28 *
  29 */
  30#ifndef _LINUX_EDD_H
  31#define _LINUX_EDD_H
  32
  33#include <uapi/linux/edd.h>
  34
  35#ifndef __ASSEMBLY__
  36extern struct edd edd;
  37#endif                          /*!__ASSEMBLY__ */
  38#endif                          /* _LINUX_EDD_H */
  39