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 _WRITE_H_ 16 #define _WRITE_H_ 17 18 #include <disk/geom.h> 19 20 int write_sectors(const struct driveinfo *, const unsigned int, 21 const void *, const int); 22 int write_verify_sector(struct driveinfo *drive_info, 23 const unsigned int, const void *); 24 int write_verify_sectors(struct driveinfo *, 25 const unsigned int, const void *, const int); 26 #endif 27