This commit removes duplication of system headers per platform, i.e. remove
copies of common headers like <stdlib.h> from arch-arm/usr/include and arch-x86/usr/include
and move them to a common include directory. More specifically:
- common headers: android-N/arch-A/usr/include --> android-N/include
- arch-specific headers: android-N/arch-A/usr-include --> android-N/arch-A/include
- arch-specific libs: android-N/arch-A/usr/lib --> android-N/arch-A/lib
Change-Id: Ifdba5038d108901931f3e3a7c14ebe6270d2d276
NOTE: This also contains careful separation of API-level-specific headers.
For example, platforms/android-5/include/pthread.h contains new function
declarations that are not available when using platforms/android-3/include/pthread.h
NOTE: The NDK's build-platforms.sh script has been updated to understand the new
layout. This change in develeopment/ndk does not change the layout of
platform files under $NDK/platforms after build-platforms.sh is called.
61 lines
1.7 KiB
C
61 lines
1.7 KiB
C
/****************************************************************************
|
|
****************************************************************************
|
|
***
|
|
*** This header was automatically generated from a Linux kernel header
|
|
*** of the same name, to make information necessary for userspace to
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
*** structures, and macros generated from the original header, and thus,
|
|
*** contains no copyrightable information.
|
|
***
|
|
****************************************************************************
|
|
****************************************************************************/
|
|
#ifndef _SERIO_H
|
|
#define _SERIO_H
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
|
|
|
|
#define SERIO_TIMEOUT 1
|
|
#define SERIO_PARITY 2
|
|
#define SERIO_FRAME 4
|
|
|
|
#define SERIO_XT 0x00
|
|
#define SERIO_8042 0x01
|
|
#define SERIO_RS232 0x02
|
|
#define SERIO_HIL_MLC 0x03
|
|
#define SERIO_PS_PSTHRU 0x05
|
|
#define SERIO_8042_XL 0x06
|
|
|
|
#define SERIO_UNKNOWN 0x00
|
|
#define SERIO_MSC 0x01
|
|
#define SERIO_SUN 0x02
|
|
#define SERIO_MS 0x03
|
|
#define SERIO_MP 0x04
|
|
#define SERIO_MZ 0x05
|
|
#define SERIO_MZP 0x06
|
|
#define SERIO_MZPP 0x07
|
|
#define SERIO_VSXXXAA 0x08
|
|
#define SERIO_SUNKBD 0x10
|
|
#define SERIO_WARRIOR 0x18
|
|
#define SERIO_SPACEORB 0x19
|
|
#define SERIO_MAGELLAN 0x1a
|
|
#define SERIO_SPACEBALL 0x1b
|
|
#define SERIO_GUNZE 0x1c
|
|
#define SERIO_IFORCE 0x1d
|
|
#define SERIO_STINGER 0x1e
|
|
#define SERIO_NEWTON 0x1f
|
|
#define SERIO_STOWAWAY 0x20
|
|
#define SERIO_H3600 0x21
|
|
#define SERIO_PS2SER 0x22
|
|
#define SERIO_TWIDKBD 0x23
|
|
#define SERIO_TWIDJOY 0x24
|
|
#define SERIO_HIL 0x25
|
|
#define SERIO_SNES232 0x26
|
|
#define SERIO_SEMTECH 0x27
|
|
#define SERIO_LKKBD 0x28
|
|
#define SERIO_ELO 0x29
|
|
#define SERIO_MICROTOUCH 0x30
|
|
|
|
#endif
|