coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memlayout.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /* This file contains macro definitions for memlayout.ld linker scripts. */
4 
5 #ifndef __ARCH_MEMLAYOUT_H
6 #define __ARCH_MEMLAYOUT_H
7 
8 /* TODO: Double-check that that's the correct alignment for our ABI. */
9 #define STACK(addr, size) REGION(stack, addr, size, 8)
10 
11 /* TODO: Need to add DMA_COHERENT region like on ARM? */
12 
13 #endif /* __ARCH_MEMLAYOUT_H */