Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 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 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_NVRAM_H |
| 8 | #define _UAPI_LINUX_NVRAM_H |
| 9 | #include <linux/ioctl.h> |
| 10 | #define NVRAM_INIT _IO('p', 0x40) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define NVRAM_SETCKS _IO('p', 0x41) |
| 12 | #define NVRAM_FIRST_BYTE 14 |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 13 | #define NVRAM_OFFSET(x) ((x) - NVRAM_FIRST_BYTE) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 14 | #endif |