VirtualBox

source: vbox/trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h@ 5197

Last change on this file since 5197 was 4544, checked in by vboxsync, 17 years ago

'u' is #defined by sys/user.h when in _KERNEL mode, that's great since there are a zillion places where we use 'u' for unions and unsigned integers of various sizes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1/* $Id: the-solaris-kernel.h 4544 2007-09-05 21:46:29Z vboxsync $ */
2/** @file
3 * innotek Portable Runtime - Include all necessary headers for the Solaris kernel.
4 */
5
6/*
7 * Copyright (C) 2006-2007 innotek GmbH
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef ___the_solaris_kernel_h
19#define ___the_solaris_kernel_h
20
21#include <sys/kmem.h>
22#include <sys/types.h>
23#include <sys/mman.h>
24#include <sys/thread.h>
25#include <sys/mutex.h>
26#include <sys/condvar.h>
27#include <sys/sdt.h>
28#include <sys/schedctl.h>
29#include <sys/time.h>
30#include <sys/sysmacros.h>
31#include <sys/vmsystm.h>
32#include <sys/cyclic.h>
33#include <vm/hat.h>
34#include <vm/seg_vn.h>
35#include <vm/seg_kmem.h>
36#include <sys/ddi.h>
37#include <sys/sunddi.h>
38
39#undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */
40
41#include <iprt/cdefs.h>
42
43__BEGIN_DECLS
44extern struct ddi_dma_attr g_SolarisX86PhysMemLimits;
45__END_DECLS
46
47#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette