1RTAS(2)                       System Calls Manual                      RTAS(2)
2
3
4

NAME

6       rtas - Allows userspace to call RTAS (Run Time Abstraction Services)
7

SYNOPSIS

9       int ppc_rtas (struct rtas_args *uargs);
10
11

DESCRIPTION

13       ppc_rtas enables userspace manipulation of the RunTime Abstraction Ser‐
14       vices (RTAS). RTAS provides for a portable method of access and setting
15       system  information. For example, you could gather information on vari‐
16       ous system sensors and set poweron values. RTAS  is  accessed  via  the
17       /proc  entry  called  "rtas". Manipulations on RTAS are implemented via
18       command line arguments on /proc/rtas.  The values for uargs vary great‐
19       ly.  For more information, see the view/arch/ppcKconfig file.
20
21

RETURN VALUE

23       rtas returns 0 on success; otherwise it returns one of the errors list‐
24       ed in the "Errors" section.
25
26

ERRORS

28       -EPERM User does not have CAP_SYS_ADMIN capabilities.
29
30
31       -EFAULT
32              Problem copying uargs values to/from user space.
33
34
35       -EINVAL
36              Either number of uargs passed in too large or size of uargs  ar‐
37              ray too large.
38
39

AUTHOR

41       Niki Rahimi.
42
43
44
45                                                                       RTAS(2)
Impressum