Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Bin Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> |
Bin Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _GLOBAL_NVS_H_ |
| 7 | #define _GLOBAL_NVS_H_ |
| 8 | |
| 9 | struct __packed acpi_global_nvs { |
| 10 | u8 pcnt; /* processor count */ |
| 11 | u8 iuart_en; /* internal UART enabled */ |
| 12 | |
| 13 | /* |
| 14 | * Add padding so sizeof(struct acpi_global_nvs) == 0x100. |
| 15 | * This must match the size defined in the global_nvs.asl. |
| 16 | */ |
| 17 | u8 rsvd[254]; |
| 18 | }; |
| 19 | |
| 20 | #endif /* _GLOBAL_NVS_H_ */ |