Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2010 Tilera Corporation. All Rights Reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation, version 2. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, but |
| 9 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or |
| 11 | * NON INFRINGEMENT. See the GNU General Public License for |
| 12 | * more details. |
| 13 | */ |
| 14 | |
| 15 | #ifndef _ASM_TILE_SETUP_H |
| 16 | #define _ASM_TILE_SETUP_H |
| 17 | |
Chris Metcalf | 3b3c1b9 | 2010-08-15 12:14:41 -0400 | [diff] [blame] | 18 | #define COMMAND_LINE_SIZE 2048 |
| 19 | |
| 20 | #ifdef __KERNEL__ |
| 21 | |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 22 | #include <linux/pfn.h> |
| 23 | #include <linux/init.h> |
| 24 | |
| 25 | /* |
| 26 | * Reserved space for vmalloc and iomap - defined in asm/page.h |
| 27 | */ |
| 28 | #define MAXMEM_PFN PFN_DOWN(MAXMEM) |
| 29 | |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 30 | void early_panic(const char *fmt, ...); |
| 31 | void warn_early_printk(void); |
| 32 | void __init disable_early_printk(void); |
| 33 | |
Chris Metcalf | 3b3c1b9 | 2010-08-15 12:14:41 -0400 | [diff] [blame] | 34 | #endif /* __KERNEL__ */ |
| 35 | |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 36 | #endif /* _ASM_TILE_SETUP_H */ |