aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/common.h
blob: 6e4f3d6149c9094454e6f6c524fb7014beb09cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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_ */