uofw/include/umd_error.h

50 lines
1.7 KiB
C
Raw Normal View History

/* Copyright (C) 2011 - 2016 The uOFW team
See the file COPYING for copying permission.
*/
/**
* @defgroup UMD_ERROR UMD Errors
* @ingroup UMDDriveManagement
*
* uofw/include/umd_error.h \n
* Defines error codes specifically for the UMD facility. \n
*
* @{
*/
#ifndef UMD_ERROR_H
#define UMD_ERROR_H
#include "common_header.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
UMD error codes
SCE_ERROR_FACILITY_UMD = 0x021
*/
#define SCE_UMD_ERROR_NOT_DEVICE_READY 0x80210001 /*!< Device not ready. */
#define SCE_UMD_ERROR_LBA_OUT_OF_RANGE 0x80210002 /*!< Logical block addressing out of range. */
#define SCE_UMD_ERROR_NO_MEDIUM 0x80210003 /*!< No disc. */
#define SCE_UMD_ERROR_UNKNOWN_MEDIUM 0x80210004 /*!< Unknown disc medium. */
#define SCE_UMD_ERROR_HARDWARE_FAILURE 0x80210005 /*!< Hardware failure. */
#define SCE_UMD_ERROR_POWER_OFF 0x80210006 /*!< UMD device without power. */
#define SCE_UMD_ERROR_REPLACED 0x80210007 /*!< Media switching prohibited. */
#define SCE_UMD_ERROR_INVALID_LAYOUT 0x80210008 /*!< DVD data image layout is invalid. */
#define SCE_UMD_ERROR_READAHEAD_REQ_FULL 0x80210009 /*!< Read ahead requests are full. */
#define SCE_UMD_ERROR_READAHEAD_NOREQ 0x80210010 /*!< Non-existent read ahead request. */
#define SCE_UMD_ERROR_READAHEAD_BUSY 0x80210011 /*!< Read ahead request already running. */
#ifdef __cplusplus
}
#endif
#endif /* UMD_ERROR_H */
/** @} */