| 1 | /* |
|---|
| 2 | * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | * it under the terms of the GNU General Public License as published by |
|---|
| 4 | * the Free Software Foundation; either version 2 of the License, or |
|---|
| 5 | * (at your option) any later version. |
|---|
| 6 | * |
|---|
| 7 | * This program is distributed in the hope that it will be useful, |
|---|
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 10 | * GNU General Public License for more details. |
|---|
| 11 | * |
|---|
| 12 | * You should have received a copy of the GNU General Public License |
|---|
| 13 | * along with this program; if not, write to the Free Software |
|---|
| 14 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|---|
| 15 | * |
|---|
| 16 | * Copyright (C) IBM Corp. 2005 |
|---|
| 17 | * |
|---|
| 18 | * Authors: Hollis Blanchard <hollisb@us.ibm.com> |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | #ifndef __PPC_64_CONFIG_H__ |
|---|
| 22 | #define __PPC_64_CONFIG_H__ |
|---|
| 23 | |
|---|
| 24 | #define CONFIG_L1_CACHE_SHIFT 7 |
|---|
| 25 | |
|---|
| 26 | /* 288 bytes below the stack pointer must be preserved by interrupt handlers */ |
|---|
| 27 | #define STACK_VOLATILE_AREA 288 |
|---|
| 28 | /* size of minimum stack frame; C code can write into the caller's stack */ |
|---|
| 29 | #define STACK_FRAME_OVERHEAD 112 |
|---|
| 30 | |
|---|
| 31 | #define STACK_ORDER 2 |
|---|
| 32 | #define STACK_SIZE (PAGE_SIZE << STACK_ORDER) |
|---|
| 33 | |
|---|
| 34 | #define NUM_SLB_ENTRIES 64 |
|---|
| 35 | #define NUM_FPRS 32 |
|---|
| 36 | #define HAS_FLOAT 1 |
|---|
| 37 | #define HAS_VMX 1 |
|---|
| 38 | |
|---|
| 39 | #endif |
|---|