the-solaris-kernel.h revision e7e8a6cb1597db3e0a1a83733e1d90e7a1688647
/* $Id$ */
/** @file
* innotek Portable Runtime - Include all necessary headers for the Solaris kernel.
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License as published by the Free Software Foundation,
* in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
* distribution. VirtualBox OSE is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___the_solaris_kernel_h
#define ___the_solaris_kernel_h
#include <sys/schedctl.h>
#include <sys/sysmacros.h>
#include <vm/seg_kmem.h>
/**
* Used in alloc-r0drv-solaris.c and in memobj-r0drv-solaris.cpp
* Basically needs to be used anywhere where contiguous allocation
* is needed.
*
* @todo r=bird: This should be moved out of this header as it will probably
* be instantiated in all the files using this header and
* the compiler will bitch about it not being used.
*/
static struct ddi_dma_attr g_SolarisX86PhysMemLimits =
{
DMA_ATTR_V0, /* Version Number */
(uint64_t)0, /* lower limit */
512, /* s/g length */
1, /* device granularity */
0 /* bus-specific flags */
};
/* commented for now
__BEGIN_DECLS
__END_DECLS
*/
#endif