kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
36 lines
804 B
C
36 lines
804 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (C) 2018 Canonical Ltd.
|
|
*
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_BINDERFS_H
|
|
#define _UAPI_LINUX_BINDERFS_H
|
|
|
|
#include <linux/android/binder.h>
|
|
#include <linux/types.h>
|
|
#include <linux/ioctl.h>
|
|
|
|
#define BINDERFS_MAX_NAME 255
|
|
|
|
/**
|
|
* struct binderfs_device - retrieve information about a new binder device
|
|
* @name: the name to use for the new binderfs binder device
|
|
* @major: major number allocated for binderfs binder devices
|
|
* @minor: minor number allocated for the new binderfs binder device
|
|
*
|
|
*/
|
|
struct binderfs_device {
|
|
char name[BINDERFS_MAX_NAME + 1];
|
|
__u32 major;
|
|
__u32 minor;
|
|
};
|
|
|
|
/**
|
|
* Allocate a new binder device.
|
|
*/
|
|
#define BINDER_CTL_ADD _IOWR('b', 1, struct binderfs_device)
|
|
|
|
#endif /* _UAPI_LINUX_BINDERFS_H */
|
|
|