coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
StmPlatformResource.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 
3 #ifndef _STM_PLATFORM_RESOURCE_H_
4 #define _STM_PLATFORM_RESOURCE_H_
5 
6 #define MASK0 0
7 #define MASK64 0xFFFFFFFFFFFFFFFFull
8 
9 // LPC
10 
11 #define LPC_DEVICE 31
12 #define LPC_FUNCTION 0
13 #define R_ACPI_PM_BASE 0x40
14 #define ACPI_PM_BASE_MASK 0xFFF8
15 
16 /*
17  * Add resources to BIOS resource database.
18  */
19 void add_resources_cmd(void);
20 #endif
void add_resources_cmd(void)