diff options
| author | Rebecca Schultz Zavin <rebecca@android.com> | 2010-08-06 19:14:45 -0700 |
|---|---|---|
| committer | Rebecca Schultz Zavin <rebecca@android.com> | 2010-08-06 19:14:45 -0700 |
| commit | 45fe7a42f8cff24c30e91f3ef3859ed0d435b312 (patch) | |
| tree | 9f3b644d28e96236f2fdaf10e5a8a0b2b7ce06dd | |
| parent | 63673645c4da1cf97938d5018d7d373837563174 (diff) | |
| download | bionic-45fe7a42f8cff24c30e91f3ef3859ed0d435b312.zip bionic-45fe7a42f8cff24c30e91f3ef3859ed0d435b312.tar.gz bionic-45fe7a42f8cff24c30e91f3ef3859ed0d435b312.tar.bz2 | |
Adding cleaned tegrafb header
Change-Id: Iba616e64cc26fb8c2d469bdd3f9f4b048391cc53
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
| -rw-r--r-- | libc/kernel/common/linux/tegrafb.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/tegrafb.h b/libc/kernel/common/linux/tegrafb.h new file mode 100644 index 0000000..2985d61 --- /dev/null +++ b/libc/kernel/common/linux/tegrafb.h @@ -0,0 +1,30 @@ +/**************************************************************************** + **************************************************************************** + *** + *** 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 _LINUX_TEGRAFB_H_ +#define _LINUX_TEGRAFB_H_ + +#include <linux/types.h> +#include <asm/ioctl.h> + +struct tegra_fb_flip_args { + __u32 buff_id; + __u32 pre_syncpt_id; + __u32 pre_syncpt_val; + __u32 post_syncpt_id; + __u32 post_syncpt_val; +}; + +#define FBIO_TEGRA_SET_NVMAP_FD _IOW('F', 0x40, __u32) +#define FBIO_TEGRA_FLIP _IOW('F', 0x41, struct tegra_fb_flip_args) + +#endif + |
