Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | /* |
| 3 | * cbe_regs.h |
| 4 | * |
| 5 | * This file is intended to hold the various register definitions for CBE |
| 6 | * on-chip system devices (memory controller, IO controller, etc...) |
| 7 | * |
| 8 | * (C) Copyright IBM Corporation 2001,2006 |
| 9 | * |
| 10 | * Authors: Maximino Aguilar (maguilar@us.ibm.com) |
| 11 | * David J. Erb (djerb@us.ibm.com) |
| 12 | * |
| 13 | * (c) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org>, IBM Corp. |
| 14 | */ |
| 15 | |
| 16 | #ifndef CBE_REGS_H |
| 17 | #define CBE_REGS_H |
| 18 | |
| 19 | #include <asm/cell-pmu.h> |
| 20 | |
| 21 | /* Cell page table entries */ |
| 22 | #define CBE_IOPTE_PP_W 0x8000000000000000ul /* protection: write */ |
| 23 | #define CBE_IOPTE_PP_R 0x4000000000000000ul /* protection: read */ |
| 24 | #define CBE_IOPTE_M 0x2000000000000000ul /* coherency required */ |
| 25 | #define CBE_IOPTE_SO_R 0x1000000000000000ul /* ordering: writes */ |
| 26 | #define CBE_IOPTE_SO_RW 0x1800000000000000ul /* ordering: r & w */ |
| 27 | #define CBE_IOPTE_RPN_Mask 0x07fffffffffff000ul /* RPN */ |
| 28 | #define CBE_IOPTE_H 0x0000000000000800ul /* cache hint */ |
| 29 | #define CBE_IOPTE_IOID_Mask 0x00000000000007fful /* ioid */ |
| 30 | |
| 31 | #endif /* CBE_REGS_H */ |
| 32 |
Warning: This file is not a C or C++ file. It does not have highlighting.
