19 #ifndef SRECORD_OUTPUT_FILE_MIPS_FLASH_H
20 #define SRECORD_OUTPUT_FILE_MIPS_FLASH_H
96 void write_inner(
int type,
unsigned long addr,
int addr_len,
97 const void *data,
int data_len);
109 unsigned long address;
128 unsigned char buffer[256];
134 size_t buffer_length;
141 void buffer_flush(
void);
148 void buffer_flush_newline(
void);
The output_file_mips_flash class is used to write a MIPS-Flash formatted file.
int preferred_block_size_get(void) const
The preferred_block_size_get method is used to get the proferred block size of the output fformat.
void write(const record &)
The write method is used to write a recordonto an output.
void line_length_set(int)
The set_line_length method is used to set the maximum length of an output line, for those formats for...
static pointer create_le(const std::string &file_name)
The create_le class method is used to create new dynamically allocated instances of this class,...
void address_length_set(int)
The address_length_set method is used to set the minimum number of bytes to be written for addresses ...
const char * format_name(void) const
The format_name method is used to obtain the name of this output format.
virtual ~output_file_mips_flash()
The destructor.
static pointer create_be(const std::string &file_name)
The create_be class method is used to create new dynamically allocated instances of this class,...
bool preferred_block_size_set(int nbytes)
The preferred_block_size_set method is is to set a precific number of bytes for the preferred block s...
The srecord::output_file class is used to represent a generic output file.
std::shared_ptr< output > pointer
The srecord::record class is used to represent a data record read from a file.