xref: /rk3399_rockchip-uboot/arch/x86/include/asm/arch-quark/global_nvs.h (revision b8e599746cac1833328bc3a8e37eeefe346baf90)
1*cf7108b3SBin Meng /*
2*cf7108b3SBin Meng  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
3*cf7108b3SBin Meng  *
4*cf7108b3SBin Meng  * SPDX-License-Identifier:	GPL-2.0+
5*cf7108b3SBin Meng  */
6*cf7108b3SBin Meng 
7*cf7108b3SBin Meng #ifndef _GLOBAL_NVS_H_
8*cf7108b3SBin Meng #define _GLOBAL_NVS_H_
9*cf7108b3SBin Meng 
10*cf7108b3SBin Meng struct __packed acpi_global_nvs {
11*cf7108b3SBin Meng 	u8	pcnt;		/* processor count */
12*cf7108b3SBin Meng 
13*cf7108b3SBin Meng 	/*
14*cf7108b3SBin Meng 	 * Add padding so sizeof(struct acpi_global_nvs) == 0x100.
15*cf7108b3SBin Meng 	 * This must match the size defined in the global_nvs.asl.
16*cf7108b3SBin Meng 	 */
17*cf7108b3SBin Meng 	u8	rsvd[255];
18*cf7108b3SBin Meng };
19*cf7108b3SBin Meng 
20*cf7108b3SBin Meng #endif /* _GLOBAL_NVS_H_ */
21