/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ /* * User API methods for ACPI-WMI mapping driver * * Copyright (C) 2017 Dell, Inc.
*/ #ifndef _UAPI_LINUX_WMI_H #define _UAPI_LINUX_WMI_H
#include <linux/ioctl.h> #include <linux/types.h>
/* WMI bus will filter all WMI vendor driver requests through this IOC */ #define WMI_IOC 'W'
/* All ioctl requests through WMI should declare their size followed by * relevant data objects
*/ struct wmi_ioctl_buffer {
__u64 length;
__u8 data[];
};
/* This structure may be modified by the firmware when we enter * system management mode through SMM, hence the volatiles
*/ struct calling_interface_buffer {
__u16 cmd_class;
__u16 cmd_select; volatile __u32 input[4]; volatile __u32 output[4];
} __packed;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.