EMILE/libemile/emile_map_partition_is_bootable.c

16 lines
330 B
C
Raw Normal View History

2004-12-21 18:00:23 +00:00
static __attribute__((used)) char* rcsid = "$CVSHeader$";
2004-12-14 23:49:59 +00:00
/*
*
* (c) 2004 Laurent Vivier <Laurent@lvivier.info>
2004-12-14 23:49:59 +00:00
*
*/
#include "partition.h"
#include "libemile.h"
int emile_map_partition_is_bootable(emile_map_t *map)
{
2006-05-29 20:18:19 +00:00
return (emile_map_partition_get_flags(map) &
kPartitionAUXIsBootValid) == kPartitionAUXIsBootValid;
2004-12-14 23:49:59 +00:00
}