lkml.org 
[lkml]   [2009]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/15] powerpc/cell: Extract duplicated IOPTE_* to <asm/iommu.h>
On Fri, May 08, 2009 at 04:01:17PM +0200, Geert Uytterhoeven wrote:
> +/* Cell page table entries */
> +#define IOPTE_PP_W 0x8000000000000000ul /* protection: write */
> +#define IOPTE_PP_R 0x4000000000000000ul /* protection: read */
> +#define IOPTE_M 0x2000000000000000ul /* coherency required */
> +#define IOPTE_SO_R 0x1000000000000000ul /* ordering: writes */
> +#define IOPTE_SO_RW 0x1800000000000000ul /* ordering: r & w */
> +#define IOPTE_RPN_Mask 0x07fffffffffff000ul /* RPN */
> +#define IOPTE_H 0x0000000000000800ul /* cache hint */
> +#define IOPTE_IOID_Mask 0x00000000000007fful /* ioid */

If this is in a global header it should probably have a CELL_ prefix.


\
 
 \ /
  Last update: 2009-05-10 21:11    [W:0.118 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site