blob: c6df2f4e042a74bc734fd08e3bae7d89feadcf45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* ----------------------------------------------------------------------- *
*
* Copyright 2009 Pierre-Alexandre Meyer
*
* Some parts borrowed from chain.c32:
*
* Copyright 2003-2009 H. Peter Anvin - All Rights Reserved
* Copyright 2009 Intel Corporation; author: H. Peter Anvin
*
* This file is part of Syslinux, and is made available under
* the terms of the GNU General Public License version 2.
*
* ----------------------------------------------------------------------- */
#ifndef _COMMON_H_
#define _COMMON_H_
#include <stdint.h>
#define SECTOR 512 /* bytes/sector */
#undef PAGE_SIZE
#define PAGE_SIZE (1<<12)
struct ebios_dapa {
uint16_t len;
uint16_t count;
uint16_t off;
uint16_t seg;
uint64_t lba;
};
#endif /* _COMMON_H_ */
|