Adding upstream version 4.00~pre61+dfsg.
[syslinux-debian/hramrach.git] / com32 / gplinclude / disk / common.h
blob4e415c11c974142c45ee74121aa744a465f0f4a4
1 /* ----------------------------------------------------------------------- *
3 * Copyright 2009 Pierre-Alexandre Meyer
5 * Some parts borrowed from chain.c32:
7 * Copyright 2003-2009 H. Peter Anvin - All Rights Reserved
8 * Copyright 2009 Intel Corporation; author: H. Peter Anvin
10 * This file is part of Syslinux, and is made available under
11 * the terms of the GNU General Public License version 2.
13 * ----------------------------------------------------------------------- */
15 #ifndef _COMMON_H_
16 #define _COMMON_H_
18 #include <stdint.h>
20 /* For PAGE_SIZE */
21 #include <cpuid.h>
23 #define SECTOR 512 /* bytes/sector */
25 struct ebios_dapa {
26 uint16_t len;
27 uint16_t count;
28 uint16_t off;
29 uint16_t seg;
30 uint64_t lba;
33 #endif /* _COMMON_H_ */