cbmimage
Loading...
Searching...
No Matches
cbmimage_fileimage_functions_s Struct Reference

BAM counter selector . More...

#include <internal.h>

Public Attributes

cbmimage_get_sectors_in_track_fctget_sectors_in_track
 
cbmimage_ts_to_blockaddress_fctts_to_blockaddress
 
cbmimage_lba_to_blockaddress_fctlba_to_blockaddress
 
cbmimage_chdir_fctchdir
 
cbmimage_set_bam_fctset_bam
 

Detailed Description

BAM counter selector .

this type contains helper functions that perform image format specific operations on an image type

Member Data Documentation

◆ chdir

cbmimage_chdir_fct* cbmimage_fileimage_functions_s::chdir

pointer to image specific function to change to a sub-dir If the pointer is NULL, then chdir is not supported with this image type

◆ get_sectors_in_track

cbmimage_get_sectors_in_track_fct* cbmimage_fileimage_functions_s::get_sectors_in_track

pointer to image specific function to get number of sectors in the specific track If the pointer is NULL, then the number of sectors in all tracks are the same.

◆ lba_to_blockaddress

cbmimage_lba_to_blockaddress_fct* cbmimage_fileimage_functions_s::lba_to_blockaddress

pointer to image specific function to convert LBA to T/S block address If the pointer is NULL, then the number of sectors in all tracks are the same. In this case, a simplified conversion is used.

◆ set_bam

cbmimage_set_bam_fct* cbmimage_fileimage_functions_s::set_bam

pointer to image specific function to fill the BAM for unused blocks, that are marked anyway.
This is used for D71 images which occupy track 53 (2nd directory track) and for a directory/partition. The pointer can be NULL if no special handling of BAM entries is needed.

◆ ts_to_blockaddress

cbmimage_ts_to_blockaddress_fct* cbmimage_fileimage_functions_s::ts_to_blockaddress

pointer to image specific function to convert T/S to LBA block address If the pointer is NULL, then the number of sectors in all tracks are the same. In this case, a simplified conversion is used.


The documentation for this struct was generated from the following file: