Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2014 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | /* This file contains macro definitions for memlayout.ld linker scripts. */ |
| 17 | |
| 18 | #ifndef __ARCH_MEMLAYOUT_H |
| 19 | #define __ARCH_MEMLAYOUT_H |
| 20 | |
| 21 | /* TODO: Double-check that that's the correct alignment for our ABI. */ |
| 22 | #define STACK(addr, size) REGION(stack, addr, size, 8) |
| 23 | |
| 24 | /* TODO: Need to add DMA_COHERENT region like on ARM? */ |
| 25 | |
| 26 | #endif /* __ARCH_MEMLAYOUT_H */ |