Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * linux/include/linux/edd.h
0004  *  Copyright (C) 2002, 2003, 2004 Dell Inc.
0005  *  by Matt Domsch <Matt_Domsch@dell.com>
0006  *
0007  * structures and definitions for the int 13h, ax={41,48}h
0008  * BIOS Enhanced Disk Drive Services
0009  * This is based on the T13 group document D1572 Revision 0 (August 14 2002)
0010  * available at http://www.t13.org/docs2002/d1572r0.pdf.  It is
0011  * very similar to D1484 Revision 3 http://www.t13.org/docs2002/d1484r3.pdf
0012  *
0013  * In a nutshell, arch/{i386,x86_64}/boot/setup.S populates a scratch
0014  * table in the boot_params that contains a list of BIOS-enumerated
0015  * boot devices.
0016  * In arch/{i386,x86_64}/kernel/setup.c, this information is
0017  * transferred into the edd structure, and in drivers/firmware/edd.c, that
0018  * information is used to identify BIOS boot disk.  The code in setup.S
0019  * is very sensitive to the size of these structures.
0020  */
0021 #ifndef _LINUX_EDD_H
0022 #define _LINUX_EDD_H
0023 
0024 #include <uapi/linux/edd.h>
0025 
0026 #ifndef __ASSEMBLY__
0027 extern struct edd edd;
0028 #endif              /*!__ASSEMBLY__ */
0029 #endif              /* _LINUX_EDD_H */