add emile_checksum, emile_map_get_bootinfo, emile_map_dev

This commit is contained in:
Laurent Vivier 2005-02-02 14:33:24 +00:00
parent 9e7fb28715
commit 348594349c
2 changed files with 9 additions and 1 deletions

View File

@ -21,7 +21,8 @@ OBJS = emile_first_get_param.o emile_first_set_param.o \
emile_map_partition_get_flags.o emile_map_set_startup.o \
emile_scsi_get_rdev.o emile_map_has_apple_driver.o \
emile_map_seek_driver_partition.o emile_get_uncompressed_size.o \
emile_map_partition_set_flags.o
emile_map_partition_set_flags.o emile_checksum.o \
emile_map_get_bootinfo.o emile_map_dev.o
HEADERS = emile.h libemile.h emile-first.h

View File

@ -131,4 +131,11 @@ extern int emile_scsi_get_rdev(char* dev_name, char** driver, int *disk, int *pa
extern int emile_map_has_apple_driver(emile_map_t *map);
extern int emile_map_seek_driver_partition(emile_map_t *map, int start);
extern int emile_get_uncompressed_size(char *file);
#ifdef USE_16BIT_CHECKSUM
extern int emile_checksum(unsigned char *addr, unsigned short length);
#else
extern unsigned short emile_checksum(unsigned char *addr, unsigned int length);
#endif
extern int emile_map_get_bootinfo(emile_map_t* map, int* bootstart, int *bootsize, int *bootaddr, int *bootentry, int* checksum, char* processor);
extern char* emile_map_dev(emile_map_t *map);
#endif