111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* bionic/arch-arm/include/machine/kernel.h
211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**
311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** Copyright 2006-2008, The Android Open Source Project
411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**
511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** Redistribution and use in source and binary forms, with or without
611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** modification, are permitted provided that the following conditions are met:
711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**     * Redistributions of source code must retain the above copyright
811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**       notice, this list of conditions and the following disclaimer.
911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**     * Redistributions in binary form must reproduce the above copyright
1011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**       notice, this list of conditions and the following disclaimer in the
1111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**       documentation and/or other materials provided with the distribution.
1211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**     * Neither the name of Google Inc. nor the names of its contributors may
1311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**       be used to endorse or promote products derived from this software
1411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**       without specific prior written permission.
1511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert**
1611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** THIS SOFTWARE IS PROVIDED BY Google Inc. ``AS IS'' AND ANY EXPRESS OR
1711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
1911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** EVENT SHALL Google Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert** ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert*/
2711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef _ARCH_X86_KERNEL_H
2811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define _ARCH_X86_KERNEL_H
2911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
3011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* this file contains kernel-specific definitions that were optimized out of
3111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert   our processed kernel headers, but still useful nonetheless... */
3211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
3311cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef unsigned long   __kernel_blkcnt_t;
3411cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef unsigned long   __kernel_blksize_t;
3511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
3611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* these aren't really defined by the kernel headers though... */
3711cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef unsigned long   __kernel_fsblkcnt_t;
3811cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef unsigned long   __kernel_fsfilcnt_t;
3911cd02dfb91661c65134cac258cf5924270e9d2Dan Alberttypedef unsigned int    __kernel_id_t;
4011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert
4111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif /* _ARCH_X86_KERNEL_H */
42