cbmimage
Loading...
Searching...
No Matches
Todo List
Member cbmimage_bam_check_consistency (cbmimage_fileimage *image)
How should details be given to the caller?
Member cbmimage_bam_get (cbmimage_fileimage *image, cbmimage_blockaddress block)
: optimize. Getting the whole track just to extract one byte is a little bit of overhead. This can be optimized
Module cbmimage_dnp

The number of free blocks of a DNP partition is wrong. It seems that the first 64 blocks are reserved and not counted. How to be confirmed

The partition sizes are not correct. For D1M, the last block is 12/127. For D2M, it is 25/255. For D4M, it is 50/255.

Member cbmimage_file
Add VLIR and REL file processing and needed structures
Member cbmimage_file_open_by_name (const char *filename)

implement cbmimage_file_open_by_name()

Member cbmimage_i_d1m_d2m_d4m_image_create (cbmimage_fileimage *image, cbmimage_imagetype imagetype, unsigned char *imagetype_name, uint8_t maxsectors)

IMPLEMENT

Member cbmimage_i_dir_set_subpartition_relative (cbmimage_image_settings *settings, cbmimage_blockaddress block_subdir_first, cbmimage_blockaddress block_subdir_last)
Change the input parameter block_subdir_last to block_count to be consistent with cbmimage_i_dir_set_subpartition_global()
Member cbmimage_i_dnp_chdir (cbmimage_image_settings *settings, cbmimage_dir_entry *dir_entry)
this function is a dummy
Member cbmimage_i_fileimage_create (const uint8_t *buffer, size_t size, const char *filename, cbmimage_imagetype imagetype_hint)
add error handling and an error result
Member cbmimage_i_validate_process_file (cbmimage_fileimage *image, cbmimage_dir_entry *dir_entry)

implement GEOS support

implement CMD native partition

Member cbmimage_image_file_guesstype (const char *filename)
currently, only the file size is considered. Add more thorough tests
Member cbmimage_image_guesstype (const uint8_t *buffer, size_t size, int *extra_errormap)
currently, only the file size is considered. Add more thorough tests
Member cbmimage_image_readfile (cbmimage_fileimage *image, const char *filename)
add error handling and an error result
Member cbmimage_image_writefile (cbmimage_fileimage *image, const char *filename)
add error handling and an error result
Member cbmimage_validate (cbmimage_fileimage *image)

How should details be given to the caller?

Implement GEOS support

Member reverse_bit_order (uint8_t input)
reversing can be optimized, for example by using a lookup table