Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:31

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- Top level for kernel interface declarations.                 ---*/
0004 /*---                                               pub_tool_vki.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright (C) 2000-2017 Julian Seward
0012       jseward@acm.org
0013    Copyright (C) 2005-2017 Nicholas Nethercote
0014       njn@valgrind.org
0015    Copyright (C) 2006-2017 OpenWorks LLP
0016       info@open-works.co.uk
0017 
0018    This program is free software; you can redistribute it and/or
0019    modify it under the terms of the GNU General Public License as
0020    published by the Free Software Foundation; either version 2 of the
0021    License, or (at your option) any later version.
0022 
0023    This program is distributed in the hope that it will be useful, but
0024    WITHOUT ANY WARRANTY; without even the implied warranty of
0025    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0026    General Public License for more details.
0027 
0028    You should have received a copy of the GNU General Public License
0029    along with this program; if not, see <http://www.gnu.org/licenses/>.
0030 
0031    The GNU General Public License is contained in the file COPYING.
0032 */
0033 
0034 /* This file defines types and constants for the kernel interface, and to
0035    make that clear everything is prefixed VKI_/vki_.
0036 
0037    This file is merely a top-level "steering" file, which pulls in the
0038    correct bits for the relevant platform.  You should not directly
0039    #include any file in include/vki; instead #include only this one or
0040    pub_core_vki.h.
0041 */
0042 
0043 #ifndef __PUB_TOOL_VKI_H
0044 #define __PUB_TOOL_VKI_H
0045 
0046 #if defined(VGO_linux)
0047 #  include "vki/vki-linux.h"
0048 #  include "vki/vki-linux-drm.h"
0049 #  include "vki/vki-linux-io_uring.h"
0050 #elif defined(VGO_darwin)
0051 #  include "vki/vki-darwin.h"
0052 #elif defined(VGO_solaris)
0053 #  include "vki/vki-solaris.h"
0054 #elif defined(VGO_freebsd)
0055 #  include "vki/vki-freebsd.h"
0056 #else
0057 #  error Unknown Plat/OS
0058 #endif
0059 
0060 #if defined(VGP_amd64_linux) || defined(VGP_x86_linux)
0061 #  include "vki/vki-xen.h"
0062 #endif
0063 
0064 
0065 #endif // __PUB_TOOL_VKI_H
0066 
0067 /*--------------------------------------------------------------------*/
0068 /*--- end                                           pub_tool_vki.h ---*/
0069 /*--------------------------------------------------------------------*/