/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2005,2006,2007,2011 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#include <grub/partition.h>
GRUB_MOD_LICENSE ("GPLv3+");
{
} __attribute__ ((packed));
struct grub_dvh_block
{
} __attribute__ ((packed));
/* Verify checksum (true=ok). */
static int
{
pos++)
return ! sum;
}
static grub_err_t
const grub_partition_t partition))
{
struct grub_partition p;
union
{
} block;
unsigned partnum;
&block);
if (err)
return err;
/* Maybe another error value would be better, because partition
table _is_ recognized but invalid. */
{
continue;
if (partnum == 10)
continue;
break;
}
return grub_errno;
}
/* Partition map type. */
{
.name = "dvh",
};
{
}
{
}