Subversion Repositories Kolibri OS

Rev

Rev 5191 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6324 serge 1
/* Copyright (C) 2013-2015 Free Software Foundation, Inc.
5191 serge 2
 
3
   This file is part of GCC.
4
 
5
   modify it under the terms of the GNU Library General Public License
6
   as published by the Free Software Foundation; either version 2, or
7
   (at your option) any later version.
8
 
9
   In addition to the permissions in the GNU Library General Public
10
   License, the Free Software Foundation gives you unlimited
11
   permission to link the compiled version of this file into
12
   combinations with other programs, and to distribute those
13
   combinations without any restriction coming from the use of this
14
   file.  (The Library Public License restrictions do apply in other
15
   respects; for example, they cover modification of the file, and
16
   distribution when not linked into a combined executable.)
17
 
18
   This program is distributed in the hope that it will be useful, but
19
   WITHOUT ANY WARRANTY; without even the implied warranty of
20
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
   Library General Public License for more details.
22
 
23
   You should have received a copy of the GNU Library General Public
24
   License along with this program; if not, write to the Free Software
25
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
   02110-1301, USA.  */
27
 
28
 
29
#ifndef __VTV_H__
30
#define __VTV_H__
31
 
32
/* We could have used an enumeration here but it just makes it more
33
   difficult for the compiler to generate a call to this.  These are
34
   used as arguments to the function __VLTChangePermission, declared
35
   below.  */
36
#define __VLTP_READ_ONLY  0
37
#define __VLTP_READ_WRITE 1
38
 
39
#ifdef __cplusplus
40
extern "C" void __VLTChangePermission (int);
41
#else
42
extern void __VLTChangePermission (int);
43
#endif
44
 
45
#ifdef BIG_PAGE_SIZE
46
/* TODO - Replace '4096' below with correct big page size.  */
47
#define VTV_PAGE_SIZE 4096
48
#else
49
#define VTV_PAGE_SIZE 4096
50
#endif
51
 
52
 
53
 
54
#endif /* __VTV_H__ */