Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
rockchip_bionic
Commits
7d981093
Commit
7d981093
authored
8 years ago
by
Mark Stevens
Browse files
Options
Download
Email Patches
Plain Diff
update bionic for rk
parent
8a19e09e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
1 deletion
+22
-1
libc/kernel/uapi/linux/ion.h
libc/kernel/uapi/linux/ion.h
+2
-0
libc/kernel/uapi/linux/v4l2-controls.h
libc/kernel/uapi/linux/v4l2-controls.h
+19
-0
libc/kernel/uapi/linux/videodev2.h
libc/kernel/uapi/linux/videodev2.h
+1
-0
tests/pthread_test.cpp
tests/pthread_test.cpp
+0
-1
No files found.
libc/kernel/uapi/linux/ion.h
View file @
7d981093
...
...
@@ -29,6 +29,7 @@ enum ion_heap_type {
ION_HEAP_TYPE_CARVEOUT
,
ION_HEAP_TYPE_CHUNK
,
ION_HEAP_TYPE_DMA
,
ION_HEAP_TYPE_DRM
,
ION_HEAP_TYPE_CUSTOM
,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
ION_NUM_HEAPS
=
16
,
...
...
@@ -38,6 +39,7 @@ enum ion_heap_type {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define ION_HEAP_CARVEOUT_MASK (1 << ION_HEAP_TYPE_CARVEOUT)
#define ION_HEAP_TYPE_DMA_MASK (1 << ION_HEAP_TYPE_DMA)
#define ION_HEAP_TYPE_DRM_MASK (1 << ION_HEAP_TYPE_DRM)
#define ION_NUM_HEAP_IDS (sizeof(unsigned int) * 8)
#define ION_FLAG_CACHED 1
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
...
...
This diff is collapsed.
Click to expand it.
libc/kernel/uapi/linux/v4l2-controls.h
View file @
7d981093
...
...
@@ -795,6 +795,25 @@ enum v4l2_auto_focus_range {
};
#define V4L2_CID_PAN_SPEED (V4L2_CID_CAMERA_CLASS_BASE + 32)
#define V4L2_CID_TILT_SPEED (V4L2_CID_CAMERA_CLASS_BASE + 33)
/**************yzm**************/
/* ddl@rock-chips.com : Add ioctrl - V4L2_CID_SCENE for camera scene control */
#define V4L2_CID_CAMERA_CLASS_BASE_ROCK (V4L2_CID_CAMERA_CLASS_BASE + 40)
#define V4L2_CID_SCENE (V4L2_CID_CAMERA_CLASS_BASE_ROCK+1)
#define V4L2_CID_EFFECT (V4L2_CID_CAMERA_CLASS_BASE_ROCK+2)
#define V4L2_CID_FLASH (V4L2_CID_CAMERA_CLASS_BASE_ROCK+3)
#define V4L2_CID_FOCUS_CONTINUOUS (V4L2_CID_CAMERA_CLASS_BASE_ROCK+4)
#define V4L2_CID_FOCUSZONE (V4L2_CID_CAMERA_CLASS_BASE_ROCK+5)
#define V4L2_CID_FACEDETECT (V4L2_CID_CAMERA_CLASS_BASE_ROCK+6)
#define V4L2_CID_HDR (V4L2_CID_CAMERA_CLASS_BASE_ROCK+7)
#define V4L2_CID_ISO (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 8)
#define V4L2_CID_ANTIBANDING (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 9)
#define V4L2_CID_WHITEBALANCE_LOCK (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 10)
#define V4L2_CID_EXPOSURE_LOCK (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 11)
#define V4L2_CID_METERING_AREAS (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 12)
#define V4L2_CID_WDR (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 13)
#define V4L2_CID_EDGE (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 14)
#define V4L2_CID_JPEG_EXIF (V4L2_CID_CAMERA_CLASS_BASE_ROCK + 15)
/***************yzm***************/
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900)
#define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)
...
...
This diff is collapsed.
Click to expand it.
libc/kernel/uapi/linux/videodev2.h
View file @
7d981093
...
...
@@ -870,6 +870,7 @@ struct v4l2_ext_control {
__u32
__user
*
p_u32
;
void
__user
*
ptr
;
};
__s32
rect
[
4
];
/*rockchip add for focus zone*/
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
}
__attribute__
((
packed
));
struct
v4l2_ext_controls
{
...
...
This diff is collapsed.
Click to expand it.
tests/pthread_test.cpp
View file @
7d981093
...
...
@@ -1245,7 +1245,6 @@ TEST(pthread, pthread_attr_getstack_18908062) {
}
#if defined(__BIONIC__)
static
pthread_mutex_t
gettid_mutex
;
static
void
*
pthread_gettid_np_helper
(
void
*
arg
)
{
pthread_mutex_lock
(
&
gettid_mutex
);
*
reinterpret_cast
<
pid_t
*>
(
arg
)
=
gettid
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment