Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161783
b: refs/heads/master
c: e3e1d15
h: refs/heads/master
i:
  161781: f1878b5
  161779: f4d4d50
  161775: 0438c3b
v: v3
  • Loading branch information
Becky Bruce authored and Benjamin Herrenschmidt committed Aug 28, 2009
1 parent 7c43d79 commit 514e52f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 948c28fe3001f2c9d852dff2a0b2c69fe7cec91b
refs/heads/master: e3e1d15855206c85f4c9ed82746e81acfe13e5aa
10 changes: 7 additions & 3 deletions trunk/arch/powerpc/include/asm/mmu-hash32.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,25 @@ struct ppc_bat {

#ifndef __ASSEMBLY__

/* Hardware Page Table Entry */
/*
* Hardware Page Table Entry
* Note that the xpn and x bitfields are used only by processors that
* support extended addressing; otherwise, those bits are reserved.
*/
struct hash_pte {
unsigned long v:1; /* Entry is valid */
unsigned long vsid:24; /* Virtual segment identifier */
unsigned long h:1; /* Hash algorithm indicator */
unsigned long api:6; /* Abbreviated page index */
unsigned long rpn:20; /* Real (physical) page number */
unsigned long :3; /* Unused */
unsigned long xpn:3; /* Real page number bits 0-2, optional */
unsigned long r:1; /* Referenced */
unsigned long c:1; /* Changed */
unsigned long w:1; /* Write-thru cache mode */
unsigned long i:1; /* Cache inhibited */
unsigned long m:1; /* Memory coherence */
unsigned long g:1; /* Guarded */
unsigned long :1; /* Unused */
unsigned long x:1; /* Real page number bit 3, optional */
unsigned long pp:2; /* Page protection */
};

Expand Down

0 comments on commit 514e52f

Please sign in to comment.