File: io_private.h

package info (click to toggle)
arm-trusted-firmware 2.12.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 43,768 kB
  • sloc: ansic: 451,243; asm: 28,729; python: 2,703; makefile: 2,048; javascript: 139; sh: 33
file content (20 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef IO_PRIVATE_H
#define IO_PRIVATE_H

/*
 * Return codes reported by 'io_*' APIs
 * The value of fail should not overlap with define of the errno.
 * The errno is in "include/lib/stdlib/sys/errno.h".
 */
#define IO_SUCCESS		(0)
#define IO_FAIL			(-0x81)
#define IO_NOT_SUPPORTED	(-0x82)
#define IO_RESOURCES_EXHAUSTED	(-0x83)

#endif /* IO_PRIVATE_H */