1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_LINUX_TOSHIBA_H 7 #define _UAPI_LINUX_TOSHIBA_H 8 #define TOSH_PROC "/proc/toshiba" 9 #define TOSH_DEVICE "/dev/toshiba" 10 #define TOSHIBA_ACPI_PROC "/proc/acpi/toshiba" 11 #define TOSHIBA_ACPI_DEVICE "/dev/toshiba_acpi" 12 typedef struct { 13 unsigned int eax; 14 unsigned int ebx __attribute__ ((packed)); 15 unsigned int ecx __attribute__ ((packed)); 16 unsigned int edx __attribute__ ((packed)); 17 unsigned int esi __attribute__ ((packed)); 18 unsigned int edi __attribute__ ((packed)); 19 } SMMRegisters; 20 #define TOSH_SMM _IOWR('t', 0x90, SMMRegisters) 21 #define TOSHIBA_ACPI_SCI _IOWR('t', 0x91, SMMRegisters) 22 #endif 23