blob: e7326d441942c3bd5312e3f95e4699412d3a34b3 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_GENHD_H
20#define _LINUX_GENHD_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <linux/types.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022enum {
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024 DOS_EXTENDED_PARTITION = 5,
25 LINUX_EXTENDED_PARTITION = 0x85,
26 WIN98_EXTENDED_PARTITION = 0x0f,
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027 LINUX_SWAP_PARTITION = 0x82,
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 LINUX_RAID_PARTITION = 0xfd,
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080030 SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION,
31 NEW_SOLARIS_X86_PARTITION = 0xbf,
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080032 DM6_AUX1PARTITION = 0x51,
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034 DM6_AUX3PARTITION = 0x53,
35 DM6_PARTITION = 0x54,
36 EZD_PARTITION = 0x55,
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080037 FREEBSD_PARTITION = 0xa5,
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039 OPENBSD_PARTITION = 0xa6,
40 NETBSD_PARTITION = 0xa9,
41 BSDI_PARTITION = 0xb7,
42 MINIX_PARTITION = 0x81,
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044 UNIXWARE_PARTITION = 0x63,
45};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080046struct partition {
47 unsigned char boot_ind;
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049 unsigned char head;
50 unsigned char sector;
51 unsigned char cyl;
52 unsigned char sys_ind;
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054 unsigned char end_head;
55 unsigned char end_sector;
56 unsigned char end_cyl;
57 unsigned int start_sect;
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059 unsigned int nr_sects;
60} __attribute__((packed));
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080061#endif