Rev 5191 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5191 | Rev 6324 | ||
---|---|---|---|
1 | /* Alpha VMS external format of Protection values. |
1 | /* Alpha VMS external format of Protection values. |
2 | 2 | ||
3 | Copyright 2010 Free Software Foundation, Inc. |
3 | Copyright (C) 2010-2015 Free Software Foundation, Inc. |
4 | Written by Tristan Gingold |
4 | Written by Tristan Gingold |
5 | 5 | ||
6 | This file is part of BFD, the Binary File Descriptor library. |
6 | This file is part of BFD, the Binary File Descriptor library. |
7 | 7 | ||
8 | This program is free software; you can redistribute it and/or modify |
8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by |
9 | it under the terms of the GNU General Public License as published by |
10 | the Free Software Foundation; either version 3 of the License, or |
10 | the Free Software Foundation; either version 3 of the License, or |
11 | (at your option) any later version. |
11 | (at your option) any later version. |
12 | 12 | ||
13 | This program is distributed in the hope that it will be useful, |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. |
16 | GNU General Public License for more details. |
17 | 17 | ||
18 | You should have received a copy of the GNU General Public License |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software |
19 | along with this program; if not, write to the Free Software |
20 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
20 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
21 | MA 02110-1301, USA. */ |
21 | MA 02110-1301, USA. */ |
22 | 22 | ||
23 | #ifndef _VMS_PRT_H |
23 | #ifndef _VMS_PRT_H |
24 | #define _VMS_PRT_H |
24 | #define _VMS_PRT_H |
25 | 25 | ||
26 | #define PRT__C_NA 0 /* No access. */ |
26 | #define PRT__C_NA 0 /* No access. */ |
27 | #define PRT__C_RESERVED 1 |
27 | #define PRT__C_RESERVED 1 |
28 | #define PRT__C_KW 2 /* Kernel RW. */ |
28 | #define PRT__C_KW 2 /* Kernel RW. */ |
29 | #define PRT__C_KR 3 /* Kernel RO. */ |
29 | #define PRT__C_KR 3 /* Kernel RO. */ |
30 | #define PRT__C_UW 4 /* User RW. */ |
30 | #define PRT__C_UW 4 /* User RW. */ |
31 | #define PRT__C_EW 5 /* Executive RW. */ |
31 | #define PRT__C_EW 5 /* Executive RW. */ |
32 | #define PRT__C_ERKW 6 /* Executive RO, Kernel RW. */ |
32 | #define PRT__C_ERKW 6 /* Executive RO, Kernel RW. */ |
33 | #define PRT__C_ER 7 /* Executive RO. */ |
33 | #define PRT__C_ER 7 /* Executive RO. */ |
34 | #define PRT__C_SW 8 /* Supervisor RW. */ |
34 | #define PRT__C_SW 8 /* Supervisor RW. */ |
35 | #define PRT__C_SREW 9 /* Supervisor RO, Executive RW. */ |
35 | #define PRT__C_SREW 9 /* Supervisor RO, Executive RW. */ |
36 | #define PRT__C_SRKW 10 /* Supervisor RO, Kernel RW. */ |
36 | #define PRT__C_SRKW 10 /* Supervisor RO, Kernel RW. */ |
37 | #define PRT__C_SR 11 /* Supervisor RO. */ |
37 | #define PRT__C_SR 11 /* Supervisor RO. */ |
38 | #define PRT__C_URSW 12 /* User RO, Supervisor RW. */ |
38 | #define PRT__C_URSW 12 /* User RO, Supervisor RW. */ |
39 | #define PRT__C_UREW 13 /* User RO, Executive RW. */ |
39 | #define PRT__C_UREW 13 /* User RO, Executive RW. */ |
40 | #define PRT__C_URKW 14 /* User RO, Kernel RW. */ |
40 | #define PRT__C_URKW 14 /* User RO, Kernel RW. */ |
41 | #define PRT__C_UR 15 /* User RO. */ |
41 | #define PRT__C_UR 15 /* User RO. */ |
42 | 42 | ||
43 | #endif /* _VMS_PRT_H */ |
43 | #endif /* _VMS_PRT_H */ |