Skip to content

Commit

Permalink
microblaze: Add PVR for writeback cache, endians
Browse files Browse the repository at this point in the history
Specify PVR for writeback cache, endians and others.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
  • Loading branch information
michalsimek authored and Edgar E. Iglesias committed Mar 11, 2011
1 parent 73ad9e6 commit c4374bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target-microblaze/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ struct CPUMBState;
#define PVR0_USE_ICACHE_MASK 0x02000000
#define PVR0_USE_DCACHE_MASK 0x01000000
#define PVR0_USE_MMU 0x00800000 /* new */
#define PVR0_USE_BTC 0x00400000
#define PVR0_ENDI 0x00200000
#define PVR0_FAULT 0x00100000
#define PVR0_VERSION_MASK 0x0000FF00
#define PVR0_USER1_MASK 0x000000FF

Expand Down Expand Up @@ -169,6 +172,7 @@ struct CPUMBState;
#define PVR5_DCACHE_ALLOW_WR_MASK 0x01000000
#define PVR5_DCACHE_LINE_LEN_MASK 0x00E00000
#define PVR5_DCACHE_BYTE_SIZE_MASK 0x001F0000
#define PVR5_DCACHE_WRITEBACK_MASK 0x00004000

/* ICache base address PVR mask */
#define PVR6_ICACHE_BASEADDR_MASK 0xFFFFFFFF
Expand Down

0 comments on commit c4374bb

Please sign in to comment.