forked from luck/tmp_suning_uos_patched
d95236782b
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license v2 0 as published by the free software foundation this program 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 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 23 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141901.115786599@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* linux/include/linux/edd.h
|
|
* Copyright (C) 2002, 2003, 2004 Dell Inc.
|
|
* by Matt Domsch <Matt_Domsch@dell.com>
|
|
*
|
|
* structures and definitions for the int 13h, ax={41,48}h
|
|
* BIOS Enhanced Disk Drive Services
|
|
* This is based on the T13 group document D1572 Revision 0 (August 14 2002)
|
|
* available at http://www.t13.org/docs2002/d1572r0.pdf. It is
|
|
* very similar to D1484 Revision 3 http://www.t13.org/docs2002/d1484r3.pdf
|
|
*
|
|
* In a nutshell, arch/{i386,x86_64}/boot/setup.S populates a scratch
|
|
* table in the boot_params that contains a list of BIOS-enumerated
|
|
* boot devices.
|
|
* In arch/{i386,x86_64}/kernel/setup.c, this information is
|
|
* transferred into the edd structure, and in drivers/firmware/edd.c, that
|
|
* information is used to identify BIOS boot disk. The code in setup.S
|
|
* is very sensitive to the size of these structures.
|
|
*/
|
|
#ifndef _LINUX_EDD_H
|
|
#define _LINUX_EDD_H
|
|
|
|
#include <uapi/linux/edd.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern struct edd edd;
|
|
#endif /*!__ASSEMBLY__ */
|
|
#endif /* _LINUX_EDD_H */
|