arm-trusted-firmware/include/drivers/io
Juan Castillo 7e26fe1f05 IO Framework: use standard errno codes as return values
This patch redefines the values of IO_FAIL, IO_NOT_SUPPORTED and
IO_RESOURCES_EXHAUSTED to match the corresponding definitions in
errno.h:

    #define IO_FAIL                     (-ENOENT)
    #define IO_NOT_SUPPORTED            (-ENODEV)
    #define IO_RESOURCES_EXHAUSTED      (-ENOMEM)

NOTE: please note that the IO_FAIL, IO_NOT_SUPPORTED and
IO_RESOURCES_EXHAUSTED definitions are considered deprecated
and their usage should be avoided. Callers should rely on errno.h
definitions when checking the return values of IO functions.

Change-Id: Ic8491aa43384b6ee44951ebfc053a3ded16a80be
2015-10-23 16:57:52 +01:00
..
io_driver.h Move IO storage source to drivers directory 2014-08-14 11:17:03 +01:00
io_fip.h Move IO storage source to drivers directory 2014-08-14 11:17:03 +01:00
io_memmap.h Move IO storage source to drivers directory 2014-08-14 11:17:03 +01:00
io_semihosting.h Move IO storage source to drivers directory 2014-08-14 11:17:03 +01:00
io_storage.h IO Framework: use standard errno codes as return values 2015-10-23 16:57:52 +01:00