1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_LINUX_TOSHIBA_H 8 #define _UAPI_LINUX_TOSHIBA_H 9 #define TOSH_PROC "/proc/toshiba" 10 #define TOSH_DEVICE "/dev/toshiba" 11 #define TOSHIBA_ACPI_PROC "/proc/acpi/toshiba" 12 #define TOSHIBA_ACPI_DEVICE "/dev/toshiba_acpi" 13 typedef struct { 14 unsigned int eax; 15 unsigned int ebx __attribute__((packed)); 16 unsigned int ecx __attribute__((packed)); 17 unsigned int edx __attribute__((packed)); 18 unsigned int esi __attribute__((packed)); 19 unsigned int edi __attribute__((packed)); 20 } SMMRegisters; 21 #define TOSH_SMM _IOWR('t', 0x90, SMMRegisters) 22 #define TOSHIBA_ACPI_SCI _IOWR('t', 0x91, SMMRegisters) 23 #endif 24