coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memlayout_transfer_buffer.inc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
4  ALIGN_COUNTER(64)
5  _transfer_buffer = .;
6  REGION(transfer_info, ., TRANSFER_INFO_SIZE, 4)
7 #endif
8 
9 #if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK) || CONFIG(VBOOT_STARTS_IN_BOOTBLOCK)
10  ALIGN_COUNTER(64)
11  VBOOT2_WORK(., VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE)
12 #endif
13 
14  ALIGN_COUNTER(64)
15 #if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
16 #if ENV_SEPARATE_VERSTAGE
17  PRERAM_CBMEM_CONSOLE(., CONFIG_PRE_X86_CBMEM_CONSOLE_SIZE)
18 #else
19  REGION(cbmemc_transfer, ., CONFIG_PRE_X86_CBMEM_CONSOLE_SIZE, 4)
20 #endif /* ENV_SEPARATE_VERSTAGE */
21 #endif /* CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK) */
23  CBFS_MCACHE(., CONFIG_CBFS_MCACHE_SIZE)
24  FMAP_CACHE(., FMAP_SIZE)
25 
26 #if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
27  _etransfer_buffer = .;
28 #endif
#define TIMESTAMP_BUFFER_SIZE
Definition: psp_transfer.h:15
#define TRANSFER_INFO_SIZE
Definition: psp_transfer.h:14
#define TIMESTAMP(addr, size)
Definition: memlayout.h:64
#define ALIGN_COUNTER(align)
Definition: memlayout.h:25
#define VBOOT2_WORK(addr, sz)
Definition: memlayout.h:165
#define FMAP_CACHE(addr, sz)
Definition: memlayout.h:80
#define REGION(name, addr, size, expected_align)
Definition: memlayout.h:39
#define PRERAM_CBMEM_CONSOLE(addr, size)
Definition: memlayout.h:68
#define CBFS_MCACHE(addr, sz)
Definition: memlayout.h:85