syslinux/com32/gplinclude/disk/common.h
<<
>>
Prefs
   1/* ----------------------------------------------------------------------- *
   2 *
   3 *   Copyright 2009 Pierre-Alexandre Meyer
   4 *
   5 *   Some parts borrowed from chain.c32:
   6 *
   7 *   Copyright 2003-2009 H. Peter Anvin - All Rights Reserved
   8 *   Copyright 2009 Intel Corporation; author: H. Peter Anvin
   9 *
  10 *   This file is part of Syslinux, and is made available under
  11 *   the terms of the GNU General Public License version 2.
  12 *
  13 * ----------------------------------------------------------------------- */
  14
  15#ifndef _COMMON_H_
  16#define _COMMON_H_
  17
  18#include <stdint.h>
  19
  20/* For PAGE_SIZE */
  21#include <cpuid.h>
  22
  23#define SECTOR 512              /* bytes/sector */
  24
  25struct ebios_dapa {
  26    uint16_t len;
  27    uint16_t count;
  28    uint16_t off;
  29    uint16_t seg;
  30    uint64_t lba;
  31};
  32
  33#endif /* _COMMON_H_ */
  34
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.