KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Error Values

Error values for the flashrom_get_block() function. More...

Macros

#define FLASHROM_ERR_NONE   0
 Success.
 
#define FLASHROM_ERR_NOT_FOUND   -1
 Block not found.
 
#define FLASHROM_ERR_NO_PARTITION   -2
 Partition not found.
 
#define FLASHROM_ERR_READ_PART   -3
 Error reading partition.
 
#define FLASHROM_ERR_BAD_MAGIC   -4
 Invalid block magic.
 
#define FLASHROM_ERR_BOGUS_PART   -5
 Bogus partition size.
 
#define FLASHROM_ERR_NOMEM   -6
 Memory allocation failure.
 
#define FLASHROM_ERR_READ_BITMAP   -7
 Error reading bitmap.
 
#define FLASHROM_ERR_EMPTY_PART   -8
 Empty partition.
 
#define FLASHROM_ERR_READ_BLOCK   -9
 Error reading block.
 

Detailed Description

Error values for the flashrom_get_block() function.

Macro Definition Documentation

◆ FLASHROM_ERR_BAD_MAGIC

#define FLASHROM_ERR_BAD_MAGIC   -4

Invalid block magic.

◆ FLASHROM_ERR_BOGUS_PART

#define FLASHROM_ERR_BOGUS_PART   -5

Bogus partition size.

◆ FLASHROM_ERR_EMPTY_PART

#define FLASHROM_ERR_EMPTY_PART   -8

Empty partition.

◆ FLASHROM_ERR_NO_PARTITION

#define FLASHROM_ERR_NO_PARTITION   -2

Partition not found.

◆ FLASHROM_ERR_NOMEM

#define FLASHROM_ERR_NOMEM   -6

Memory allocation failure.

◆ FLASHROM_ERR_NONE

#define FLASHROM_ERR_NONE   0

Success.

◆ FLASHROM_ERR_NOT_FOUND

#define FLASHROM_ERR_NOT_FOUND   -1

Block not found.

◆ FLASHROM_ERR_READ_BITMAP

#define FLASHROM_ERR_READ_BITMAP   -7

Error reading bitmap.

◆ FLASHROM_ERR_READ_BLOCK

#define FLASHROM_ERR_READ_BLOCK   -9

Error reading block.

◆ FLASHROM_ERR_READ_PART

#define FLASHROM_ERR_READ_PART   -3

Error reading partition.