This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VLIB Error Codes

Hi,


Where I can found the VLIB error codes? All the VLIB functions returns a integer with the error status, but the documentations doesnt say anything about them.



Thank you very much.

  • Hi,

    I don't believe this question is related to BIOS.

    Judah

  • Weber,

    I agree this data should be provided in the documentation. I will file a request so that this can be fixed in a future release. In the meantime here is the data you are looking for

    VLIB_NO_ERROR = 0,

    VLIB_ERR_INPUT_INVALID = 1,

    VLIB_ERR_INPUT_NEGATIVE = 2,

    VLIB_ERR_INPUT_EXCEEDED_RANGE = 3,

    VLIB_ERR_MEMORY_EXCEEDED_BOUNDARY = 4,

    VLIB_ERR_MEMORY_ALLOCATION_FAILURE = 5,

    VLIB_ERR_MEMORY_POINTER_NULL = 6,

    VLIB_ERR_DMA_FAILURE = 7,

    VLIB_ERR_FILE_OPEN_FAILURE = 8,

    VLIB_ERR_FILE_READ_FAILURE = 9,

    VLIB_ERR_FILE_WRITE_FAILURE = 10,

    VLIB_ERR_FILE_CLOSE_FAILURE = 11,

    VLIB_ERR_FILE_FORMAT_FAILURE = 12,

    VLIB_WARNING_LOW_MEMORY = 13

    You can find this in the VLIB header file VLIB_prototypes.h. Hope this helps and thanks once again for the feedback.

    Regards,

    Rahul

     

  • Someone else moved it to BIOS forum.